Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009006/0.0009006, allocations: 95.86 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002091, allocations: 4 kB / 358 MB, free: 9.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2061, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/0.5902, allocations: 149.8 MB / 0.5461 GB, free: 39.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5905, allocations: 104.4 kB / 0.5462 GB, free: 39.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6872/1.278, allocations: 244.6 MB / 0.785 GB, free: 64.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.278, allocations: 0 / 0.785 GB, free: 64.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005237/1.278, allocations: 163.9 kB / 0.7852 GB, free: 64.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02334/1.302, allocations: 7.318 MB / 0.7924 GB, free: 56.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.302, allocations: 8.031 kB / 0.7924 GB, free: 56.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/1.322, allocations: 3.675 MB / 0.7959 GB, free: 53.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/1.338, allocations: 6.089 MB / 0.8019 GB, free: 46.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.339, allocations: 0.5191 MB / 0.8024 GB, free: 46.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/1.342, allocations: 0.6906 MB / 0.8031 GB, free: 45.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/1.367, allocations: 11.16 MB / 0.814 GB, free: 34.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/1.367, allocations: 15.83 kB / 0.814 GB, free: 34.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003305/1.371, allocations: 308.8 kB / 0.8143 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006269/1.371, allocations: 0.5106 MB / 0.8148 GB, free: 33.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/1.393, allocations: 10.23 MB / 0.8248 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2905/1.684, allocations: 38.78 MB / 0.8626 GB, free: 43.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/1.701, allocations: 28.35 MB / 0.8903 GB, free: 33.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/1.715, allocations: 8.49 MB / 0.8986 GB, free: 32.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.715, allocations: 54.19 kB / 0.8987 GB, free: 32.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=222): time 4.097e-06/1.715, allocations: 0 / 0.8987 GB, free: 32.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=238): time 0.01681/1.732, allocations: 10.45 MB / 0.9089 GB, free: 30.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001854/1.733, allocations: 1.954 MB / 0.9108 GB, free: 29.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.738, allocations: 3.368 MB / 0.9141 GB, free: 29.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.738, allocations: 66.86 kB / 0.9141 GB, free: 28.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.74, allocations: 3.535 MB / 0.9176 GB, free: 27.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005653/1.741, allocations: 0.8411 MB / 0.9184 GB, free: 26.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.741, allocations: 100 kB / 0.9185 GB, free: 26.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002608/1.741, allocations: 0.495 MB / 0.919 GB, free: 26.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/1.744, allocations: 1.892 MB / 0.9208 GB, free: 26.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.747, allocations: 4.308 MB / 0.925 GB, free: 23.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/1.75, allocations: 2.823 MB / 0.9278 GB, free: 23.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/1.75, allocations: 27.83 kB / 0.9278 GB, free: 23.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=624) (initialization): time 0.00994/1.76, allocations: 6.945 MB / 0.9346 GB, free: 22.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/1.76, allocations: 40.91 kB / 0.9347 GB, free: 22.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.76, allocations: 84.94 kB / 0.9347 GB, free: 22.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/1.762, allocations: 0.7488 MB / 0.9355 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/1.766, allocations: 1.11 MB / 0.9365 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/1.773, allocations: 5.414 MB / 0.9418 GB, free: 21.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/1.777, allocations: 311.2 kB / 0.9421 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/1.777, allocations: 270.9 kB / 0.9424 GB, free: 21.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 383 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (587): * Single equations (assignments): 584 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003884/1.781, allocations: 2.523 MB / 0.9449 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/1.781, allocations: 390 kB / 0.9452 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/1.788, allocations: 4.295 MB / 0.9494 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.788, allocations: 24.47 kB / 0.9494 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.788, allocations: 11.75 kB / 0.9495 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.788, allocations: 14.77 kB / 0.9495 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.808, allocations: 14.28 MB / 0.9634 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.808, allocations: 13.95 kB / 0.9634 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.81, allocations: 478.4 kB / 0.9639 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/1.812, allocations: 0.6958 MB / 0.9646 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.812, allocations: 70.19 kB / 0.9646 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008077/1.82, allocations: 7.155 MB / 0.9716 GB, free: 25.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001554/1.822, allocations: 1.903 MB / 0.9735 GB, free: 24.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008221/1.83, allocations: 7.88 MB / 0.9812 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.832, allocations: 0.7949 MB / 0.9819 GB, free: 18.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/1.832, allocations: 64.42 kB / 0.982 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.834, allocations: 176.5 kB / 0.9822 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/1.834, allocations: 223.6 kB / 0.9824 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.834, allocations: 82.64 kB / 0.9825 GB, free: 18.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003259/1.838, allocations: 2.478 MB / 0.9849 GB, free: 17.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.838, allocations: 4 kB / 0.9849 GB, free: 17.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004517/1.842, allocations: 1.361 MB / 0.9862 GB, free: 17.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/1.843, allocations: 0.6196 MB / 0.9868 GB, free: 17.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007628/1.851, allocations: 5.118 MB / 0.9918 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.851, allocations: 0 / 0.9918 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/1.854, allocations: 2.417 MB / 0.9942 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/1.858, allocations: 0.9064 MB / 0.9951 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.881, allocations: 15.45 MB / 1.01 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004307/1.885, allocations: 4.616 MB / 1.015 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004524/1.89, allocations: 1.366 MB / 1.016 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/1.891, allocations: 299 kB / 1.016 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/1.891, allocations: 0 / 1.016 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.334/2.225, allocations: 57.67 MB / 1.073 GB, free: 97.39 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches