Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009534/0.0009534, allocations: 106.8 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009126/0.0009128, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1886, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01122/0.1999, allocations: 16.22 MB / 423.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.2068, allocations: 4.1 MB / 427.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.2091, allocations: 131.6 kB / 427.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.2207, allocations: 7.072 MB / 434.6 MB, free: 196 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.2256, allocations: 1.146 MB / 435.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.2289, allocations: 1.165 MB / 436.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008945/0.2378, allocations: 8.027 MB / 444.9 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02838/0.2662, allocations: 18.9 MB / 463.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/0.2719, allocations: 4.312 MB / 468.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007322/0.2793, allocations: 5.154 MB / 473.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.2818, allocations: 1.027 MB / 474.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.2856, allocations: 1.297 MB / 475.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.2884, allocations: 2.201 MB / 477.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006163/0.2946, allocations: 4.839 MB / 482.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.3108, allocations: 17.97 MB / 0.4889 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3109, allocations: 0 / 0.4889 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3109, allocations: 0 / 0.4889 GB, free: 13.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000414/0.3113, allocations: 0 / 0.4889 GB, free: 13.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02755/0.3389, allocations: 10.46 MB / 0.4991 GB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3389, allocations: 8.875 kB / 0.4991 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3135/0.6524, allocations: 3.747 MB / 0.5028 GB, free: 79.8 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.6627, allocations: 5.181 MB / 0.5078 GB, free: 77.45 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/0.6632, allocations: 0.6777 MB / 0.5085 GB, free: 77.14 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/0.6656, allocations: 0.8885 MB / 0.5093 GB, free: 76.84 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.688, allocations: 12.74 MB / 0.5218 GB, free: 70.83 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.6882, allocations: 7.812 kB / 0.5218 GB, free: 70.83 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009459/0.6891, allocations: 378 kB / 0.5222 GB, free: 70.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/0.6894, allocations: 403.2 kB / 0.5225 GB, free: 70.26 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.707, allocations: 11.43 MB / 0.5337 GB, free: 58.82 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05112/0.7581, allocations: 44.17 MB / 0.5768 GB, free: 13.62 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007876/0.766, allocations: 10.55 MB / 0.5871 GB, free: 1.832 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.7679, allocations: 1.723 MB / 0.5888 GB, free: 120 kB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.7682, allocations: 220.3 kB / 0.589 GB, free: 15.87 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.7682, allocations: 60.5 kB / 0.5891 GB, free: 15.8 MB / 394.8 MB Notification: Performance of pre-optimization done (n=229): time 3.667e-06/0.7682, allocations: 4 kB / 0.5891 GB, free: 15.8 MB / 394.8 MB Notification: Performance of matching and sorting (n=229): time 0.008229/0.7765, allocations: 4.767 MB / 0.5937 GB, free: 11.01 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.7765, allocations: 81.41 kB / 0.5938 GB, free: 10.92 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/0.7804, allocations: 2.922 MB / 0.5967 GB, free: 7.977 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.7805, allocations: 61.7 kB / 0.5967 GB, free: 7.91 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.7826, allocations: 3.822 MB / 0.6005 GB, free: 4.062 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/0.7832, allocations: 0.8109 MB / 0.6013 GB, free: 3.258 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.7844, allocations: 0.9483 MB / 0.6022 GB, free: 2.297 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.7845, allocations: 309.1 kB / 0.6025 GB, free: 1.992 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.7871, allocations: 2.008 MB / 0.6044 GB, free: 15.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.7908, allocations: 4.195 MB / 0.6085 GB, free: 10.71 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00672/0.7975, allocations: 6.592 MB / 0.615 GB, free: 3.043 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-05/0.7976, allocations: 23.94 kB / 0.615 GB, free: 3.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009472/0.8071, allocations: 6.586 MB / 0.6214 GB, free: 12.38 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.8072, allocations: 36 kB / 0.6215 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.8073, allocations: 79.98 kB / 0.6215 GB, free: 12.27 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.8082, allocations: 418.3 kB / 0.6219 GB, free: 11.86 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/0.8118, allocations: 1.065 MB / 0.623 GB, free: 10.79 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.8167, allocations: 4.066 MB / 0.6269 GB, free: 6.594 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.8201, allocations: 0.6191 MB / 0.6276 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/0.8208, allocations: 252 kB / 0.6278 GB, free: 5.723 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005172/0.8259, allocations: 3.369 MB / 0.6311 GB, free: 2.34 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/0.8265, allocations: 280.5 kB / 0.6313 GB, free: 2.062 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.8323, allocations: 3.663 MB / 0.6349 GB, free: 14.37 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003953/0.8363, allocations: 2.881 MB / 0.6377 GB, free: 11.48 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8363, allocations: 4 kB / 0.6377 GB, free: 11.48 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.8364, allocations: 11.95 kB / 0.6378 GB, free: 11.46 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.8529, allocations: 10.07 MB / 0.6476 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.8529, allocations: 4 kB / 0.6476 GB, free: 1.297 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.8545, allocations: 407.4 kB / 0.648 GB, free: 0.8984 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/0.8552, allocations: 321.3 kB / 0.6483 GB, free: 0.582 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/0.8554, allocations: 55.98 kB / 0.6483 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/0.8597, allocations: 3.877 MB / 0.6521 GB, free: 12.52 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8597, allocations: 7.938 kB / 0.6521 GB, free: 12.51 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.8721, allocations: 9.55 MB / 0.6615 GB, free: 2.785 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.8733, allocations: 0.6141 MB / 0.6621 GB, free: 2.148 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.8736, allocations: 43.98 kB / 0.6621 GB, free: 2.105 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.8747, allocations: 132 kB / 0.6622 GB, free: 1.977 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.875, allocations: 149.7 kB / 0.6624 GB, free: 1.832 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8752, allocations: 67.98 kB / 0.6624 GB, free: 1.766 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002478/0.8777, allocations: 1.967 MB / 0.6644 GB, free: 15.79 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8777, allocations: 0 / 0.6644 GB, free: 15.79 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004713/0.8824, allocations: 2.108 MB / 0.6664 GB, free: 13.68 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/0.8828, allocations: 200.9 kB / 0.6666 GB, free: 13.47 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006672/0.8895, allocations: 4.716 MB / 0.6712 GB, free: 8.754 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8895, allocations: 8.25 kB / 0.6712 GB, free: 8.746 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.8919, allocations: 1.773 MB / 0.673 GB, free: 6.953 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.8949, allocations: 0.6185 MB / 0.6736 GB, free: 6.344 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1977/1.093, allocations: 18.3 MB / 0.6914 GB, free: 154.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006508/1.099, allocations: 5.707 MB / 0.697 GB, free: 152.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003765/1.103, allocations: 1.707 MB / 0.6987 GB, free: 152.7 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/1.104, allocations: 231.5 kB / 0.6989 GB, free: 152.7 MB / 474.8 MB Notification: Performance of SimCode: time 6.81e-07/1.104, allocations: 0 / 0.6989 GB, free: 152.7 MB / 474.8 MB Notification: Performance of Templates: time 0.06239/1.166, allocations: 42.05 MB / 0.7399 GB, free: 118.1 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches