Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.218/0.218, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|multiSensorA.i|multiSensorA.v|multiSensorA.power|multiSensorM.i.1.|multiSensorM.i.2.|multiSensorM.i.3.|multiSensorM.v.1.|multiSensorM.v.2.|multiSensorM.v.3.|multiSensorM.power.1.|multiSensorM.power.2.|multiSensorM.power.3.|multiSensorM.powerTotal|multiSensorQS.i.re|multiSensorQS.i.im|multiSensorQS.v.re|multiSensorQS.v.im|multiSensorQS.apparentPower.re|multiSensorQS.apparentPower.im|multiSensorQM.i.1..re|multiSensorQM.i.1..im|multiSensorQM.i.2..re|multiSensorQM.i.2..im|multiSensorQM.i.3..re|multiSensorQM.i.3..im|multiSensorQM.v.1..re|multiSensorQM.v.1..im|multiSensorQM.v.2..re|multiSensorQM.v.2..im|multiSensorQM.v.3..re|multiSensorQM.v.3..im|multiSensorQM.apparentPower.1..re|multiSensorQM.apparentPower.1..im|multiSensorQM.apparentPower.2..re|multiSensorQM.apparentPower.2..im|multiSensorQM.apparentPower.3..re|multiSensorQM.apparentPower.3..im|multiSensorQM.apparentPowerTotal.re|multiSensorQM.apparentPowerTotal.im|rmsvA.y|rmsiA.y|meanpowerA.y|rmsvM.1..y|rmsvM.2..y|rmsvM.3..y|rmsiM.1..y|rmsiM.2..y|rmsiM.3..y|meanpowerM.1..y|meanpowerM.2..y|meanpowerM.3..y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest") translateModel(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|multiSensorA.i|multiSensorA.v|multiSensorA.power|multiSensorM.i.1.|multiSensorM.i.2.|multiSensorM.i.3.|multiSensorM.v.1.|multiSensorM.v.2.|multiSensorM.v.3.|multiSensorM.power.1.|multiSensorM.power.2.|multiSensorM.power.3.|multiSensorM.powerTotal|multiSensorQS.i.re|multiSensorQS.i.im|multiSensorQS.v.re|multiSensorQS.v.im|multiSensorQS.apparentPower.re|multiSensorQS.apparentPower.im|multiSensorQM.i.1..re|multiSensorQM.i.1..im|multiSensorQM.i.2..re|multiSensorQM.i.2..im|multiSensorQM.i.3..re|multiSensorQM.i.3..im|multiSensorQM.v.1..re|multiSensorQM.v.1..im|multiSensorQM.v.2..re|multiSensorQM.v.2..im|multiSensorQM.v.3..re|multiSensorQM.v.3..im|multiSensorQM.apparentPower.1..re|multiSensorQM.apparentPower.1..im|multiSensorQM.apparentPower.2..re|multiSensorQM.apparentPower.2..im|multiSensorQM.apparentPower.3..re|multiSensorQM.apparentPower.3..im|multiSensorQM.apparentPowerTotal.re|multiSensorQM.apparentPowerTotal.im|rmsvA.y|rmsiA.y|meanpowerA.y|rmsvM.1..y|rmsvM.2..y|rmsvM.3..y|rmsiM.1..y|rmsiM.2..y|rmsiM.3..y|meanpowerM.1..y|meanpowerM.2..y|meanpowerM.3..y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 59.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 66.05 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MultiSensorTest): time 0.01884/0.3452, allocations: 10.07 MB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.3561, allocations: 3.197 MB / 0.5748 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.359, allocations: 91.5 kB / 0.5749 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.3691, allocations: 2.873 MB / 0.5777 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.3754, allocations: 1.189 MB / 0.5788 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.3798, allocations: 1.274 MB / 0.5801 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006359/0.3861, allocations: 5.039 MB / 0.585 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009016/0.3952, allocations: 5.953 MB / 0.5908 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.399, allocations: 2.575 MB / 0.5933 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.4037, allocations: 2.993 MB / 0.5963 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.405, allocations: 0.6328 MB / 0.5969 GB, free: 92 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.4071, allocations: 0.8436 MB / 0.5977 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.4086, allocations: 1.574 MB / 0.5992 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.4117, allocations: 2.244 MB / 0.6014 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.4217, allocations: 8.871 MB / 0.6101 GB, free: 2.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4217, allocations: 0 / 0.6101 GB, free: 2.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4217, allocations: 3.938 kB / 0.6101 GB, free: 2.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002158/0.4219, allocations: 0 / 0.6101 GB, free: 2.512 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.0233/0.4452, allocations: 12.33 MB / 0.6221 GB, free: 6.059 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4453, allocations: 8.031 kB / 0.6221 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.4665, allocations: 3.497 MB / 0.6256 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007747/0.4743, allocations: 2.945 MB / 0.6284 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.4746, allocations: 365.5 kB / 0.6288 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.4759, allocations: 495.9 kB / 0.6293 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.4912, allocations: 7.674 MB / 0.6368 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.4913, allocations: 7.953 kB / 0.6368 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/0.4919, allocations: 200 kB / 0.6369 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003163/0.4922, allocations: 276.8 kB / 0.6372 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.5051, allocations: 6.907 MB / 0.644 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0355/0.5406, allocations: 19.14 MB / 0.6627 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009472/0.55, allocations: 4.605 MB / 0.6671 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.5526, allocations: 1.6 MB / 0.6687 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.5528, allocations: 70.38 kB / 0.6688 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003291/0.5561, allocations: 2.256 MB / 0.671 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=288): time 6.032e-06/0.5561, allocations: 4 kB / 0.671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.008897/0.565, allocations: 4.845 MB / 0.6757 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002988/0.5653, allocations: 0.5011 MB / 0.6762 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.5685, allocations: 2.145 MB / 0.6783 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.5687, allocations: 93.69 kB / 0.6784 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.5707, allocations: 2.089 MB / 0.6804 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009413/0.5716, allocations: 1.023 MB / 0.6814 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5727, allocations: 0.7121 MB / 0.6821 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5729, allocations: 305.1 kB / 0.6824 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/0.5754, allocations: 1.631 MB / 0.684 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/0.5792, allocations: 3.143 MB / 0.6871 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/0.5857, allocations: 4.732 MB / 0.6917 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.5857, allocations: 15.94 kB / 0.6917 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008691/0.5944, allocations: 5.103 MB / 0.6967 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.5945, allocations: 20 kB / 0.6967 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/0.5945, allocations: 40 kB / 0.6968 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008901/0.5954, allocations: 335.4 kB / 0.6971 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.5985, allocations: 0.8345 MB / 0.6979 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/0.6059, allocations: 7.359 MB / 0.7051 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.6086, allocations: 485.2 kB / 0.7055 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.6089, allocations: 172 kB / 0.7057 GB, free: 14.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 36 (meanpowerA.y_last,$PRE.meanpowerA.y_last,$whenCondition12,$whenCondition11,$whenCondition10,rmsiA.mean.y_last,$PRE.rmsiA.mean.y_last,rmsvA.mean.y_last,$PRE.rmsvA.mean.y_last,meanpowerM[1].y_last,$PRE.meanpowerM[1].y_last,meanpowerM[2].y_last,$PRE.meanpowerM[2].y_last,meanpowerM[3].y_last,$PRE.meanpowerM[3].y_last,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsiM[3].mean.y_last,$PRE.rmsiM[3].mean.y_last,rmsiM[2].mean.y_last,$PRE.rmsiM[2].mean.y_last,rmsiM[1].mean.y_last,$PRE.rmsiM[1].mean.y_last,rmsvM[3].mean.y_last,$PRE.rmsvM[3].mean.y_last,rmsvM[2].mean.y_last,$PRE.rmsvM[2].mean.y_last,rmsvM[1].mean.y_last,$PRE.rmsvM[1].mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (464): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003844/0.6128, allocations: 1.73 MB / 0.7074 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007406/0.6135, allocations: 258.4 kB / 0.7076 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.6191, allocations: 3.064 MB / 0.7106 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/0.6191, allocations: 15.94 kB / 0.7106 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.6191, allocations: 7.938 kB / 0.7107 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.6207, allocations: 0.5952 MB / 0.7112 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/0.6211, allocations: 87.91 kB / 0.7113 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6224, allocations: 163.8 kB / 0.7115 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/0.6228, allocations: 218 kB / 0.7117 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007518/0.6303, allocations: 4.535 MB / 0.7161 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008356/0.6387, allocations: 5.942 MB / 0.7219 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002331/0.641, allocations: 1.52 MB / 0.7234 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002165/0.6432, allocations: 1.415 MB / 0.7248 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of Backend: time 3.6e-07/0.6432, allocations: 0 / 0.7248 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006859/0.65, allocations: 3.189 MB / 0.7279 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of SimCode: time 0.2471/0.8971, allocations: 8.668 MB / 0.7364 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06902/0.9662, allocations: 59.53 MB / 0.7945 GB, free: 104.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/MultiSensorTest/MultiSensorTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.MultiSensorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.008903704001568]