Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 103.8 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 43.94 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08711, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01531/0.1025, allocations: 16.56 MB / 343.2 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.1121, allocations: 4.198 MB / 347.4 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003649/0.1159, allocations: 111.7 kB / 347.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01459/0.1305, allocations: 7.091 MB / 354.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.1363, allocations: 1.372 MB / 355.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.1404, allocations: 1.119 MB / 357.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.1507, allocations: 8.311 MB / 365.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2092/0.3599, allocations: 18.97 MB / 384.3 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008215/0.3682, allocations: 4.399 MB / 388.7 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009421/0.3776, allocations: 5.363 MB / 394.1 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004021/0.3817, allocations: 1.036 MB / 395.1 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.3872, allocations: 1.28 MB / 396.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.3919, allocations: 2.323 MB / 398.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008258/0.4002, allocations: 4.984 MB / 403.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.4143, allocations: 18.17 MB / 421.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4144, allocations: 0 / 421.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4144, allocations: 3.688 kB / 421.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005266/0.4149, allocations: 0 / 421.9 MB, free: 1.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03207/0.447, allocations: 10.81 MB / 432.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4471, allocations: 19.97 kB / 432.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03083/0.4779, allocations: 5.698 MB / 438.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.4885, allocations: 4.842 MB / 443.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/0.4893, allocations: 0.7017 MB / 444 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004446/0.4937, allocations: 0.9247 MB / 444.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03725/0.531, allocations: 13.61 MB / 458.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/0.5313, allocations: 4 kB / 458.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003805/0.5351, allocations: 398.9 kB / 458.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005315/0.5357, allocations: 459.9 kB / 459.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/0.5637, allocations: 12.84 MB / 472.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08444/0.6482, allocations: 46.92 MB / 0.5069 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/0.6643, allocations: 17.12 MB / 0.5237 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/0.6675, allocations: 1.901 MB / 0.5255 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.6783, allocations: 6.102 MB / 0.5315 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.6784, allocations: 52.56 kB / 0.5315 GB, free: 5.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 3.646e-06/0.6784, allocations: 0 / 0.5315 GB, free: 5.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.008425/0.6868, allocations: 4.42 MB / 0.5358 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.6869, allocations: 69.41 kB / 0.5359 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1918/0.8787, allocations: 3.315 MB / 0.5391 GB, free: 149.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003749/0.8791, allocations: 56.2 kB / 0.5392 GB, free: 149.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003369/0.8825, allocations: 4.181 MB / 0.5433 GB, free: 147.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.8836, allocations: 0.7124 MB / 0.544 GB, free: 146.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/0.8854, allocations: 1.067 MB / 0.545 GB, free: 146 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.8855, allocations: 305.8 kB / 0.5453 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.8892, allocations: 2.083 MB / 0.5473 GB, free: 145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.8941, allocations: 4.726 MB / 0.552 GB, free: 140.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008118/0.9023, allocations: 7.172 MB / 0.559 GB, free: 135.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001589/0.9025, allocations: 27.31 kB / 0.559 GB, free: 135.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01316/0.9156, allocations: 7.091 MB / 0.5659 GB, free: 132.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.9158, allocations: 47.5 kB / 0.566 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/0.916, allocations: 91.81 kB / 0.566 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000936/0.917, allocations: 430.7 kB / 0.5664 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/0.9212, allocations: 1.181 MB / 0.5676 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004156/0.9254, allocations: 4.049 MB / 0.5716 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/0.9304, allocations: 0.723 MB / 0.5723 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009985/0.9314, allocations: 284.3 kB / 0.5725 GB, free: 129.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * 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.006339/0.9378, allocations: 3.485 MB / 0.5759 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/0.9385, allocations: 293.4 kB / 0.5762 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.9433, allocations: 3.411 MB / 0.5795 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00324/0.9466, allocations: 2.62 MB / 0.5821 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9466, allocations: 6.688 kB / 0.5821 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.9466, allocations: 10.83 kB / 0.5821 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.9615, allocations: 9.42 MB / 0.5913 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.9615, allocations: 4 kB / 0.5913 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.9628, allocations: 365.3 kB / 0.5917 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/0.9635, allocations: 319.8 kB / 0.592 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.9637, allocations: 47.7 kB / 0.592 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.9673, allocations: 3.869 MB / 0.5958 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9673, allocations: 3.938 kB / 0.5958 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/0.9733, allocations: 4.837 MB / 0.6005 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.9748, allocations: 0.5947 MB / 0.6011 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.9753, allocations: 39.94 kB / 0.6011 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9764, allocations: 131.8 kB / 0.6013 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.9767, allocations: 129.8 kB / 0.6014 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9768, allocations: 55.98 kB / 0.6015 GB, free: 108.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.9797, allocations: 2.195 MB / 0.6036 GB, free: 106.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.9797, allocations: 0 / 0.6036 GB, free: 106.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00578/0.9855, allocations: 2.038 MB / 0.6056 GB, free: 104 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (183): * Single equations (assignments): 178 * 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.00053/0.986, allocations: 191.3 kB / 0.6058 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00658/0.9926, allocations: 4.804 MB / 0.6105 GB, free: 99.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.9927, allocations: 3.062 kB / 0.6105 GB, free: 99.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.9949, allocations: 1.639 MB / 0.6121 GB, free: 97.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.9984, allocations: 0.6438 MB / 0.6127 GB, free: 96.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.025, allocations: 17.63 MB / 0.6299 GB, free: 79.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/1.03, allocations: 5.796 MB / 0.6356 GB, free: 73.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00448/1.035, allocations: 1.837 MB / 0.6374 GB, free: 71.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/1.035, allocations: 239.3 kB / 0.6376 GB, free: 71.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/1.035, allocations: 0 / 0.6376 GB, free: 71.2 MB / 446.1 MB Notification: Performance of Templates: time 0.06234/1.098, allocations: 40.93 MB / 0.6776 GB, free: 30.29 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches