Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Electrical.MultiSensorTest") translateModel(ModelicaTest.Electrical.MultiSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Electrical.MultiSensorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.00111, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001185/0.001185, allocations: 187.2 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.195/0.195, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4077, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MultiSensorTest): time 0.01183/0.4196, allocations: 11.49 MB / 0.5308 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008138/0.4278, allocations: 3.215 MB / 0.5339 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.4303, allocations: 74.53 kB / 0.534 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007929/0.4383, allocations: 3.055 MB / 0.537 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.4451, allocations: 1.331 MB / 0.5383 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.4486, allocations: 1.153 MB / 0.5394 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007371/0.456, allocations: 4.954 MB / 0.5443 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01461/0.4706, allocations: 9.109 MB / 0.5532 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.4753, allocations: 2.505 MB / 0.5556 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.48, allocations: 2.923 MB / 0.5585 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.482, allocations: 0.6289 MB / 0.5591 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.4849, allocations: 0.8279 MB / 0.5599 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002201/0.4872, allocations: 1.55 MB / 0.5614 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00552/0.4927, allocations: 2.8 MB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.5035, allocations: 8.722 MB / 0.5726 GB, free: 5.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5035, allocations: 4 kB / 0.5726 GB, free: 5.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5035, allocations: 0 / 0.5726 GB, free: 5.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.5038, allocations: 3.938 kB / 0.5726 GB, free: 5.48 MB / 430.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.02043/0.5242, allocations: 6.183 MB / 0.5787 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5243, allocations: 8.031 kB / 0.5787 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.5449, allocations: 3.506 MB / 0.5821 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/0.5518, allocations: 2.882 MB / 0.5849 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.5522, allocations: 365.6 kB / 0.5853 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.554, allocations: 495.9 kB / 0.5858 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.5727, allocations: 7.453 MB / 0.593 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002363/0.573, allocations: 11.91 kB / 0.593 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/0.5744, allocations: 203.9 kB / 0.5932 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/0.5748, allocations: 272.8 kB / 0.5935 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.589, allocations: 6.919 MB / 0.6003 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04445/0.6335, allocations: 22.18 MB / 0.6219 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.6467, allocations: 11.84 MB / 0.6335 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/0.6497, allocations: 1.731 MB / 0.6352 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.65, allocations: 139.6 kB / 0.6353 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003675/0.6537, allocations: 2.067 MB / 0.6373 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=288): time 9.298e-06/0.6537, allocations: 0 / 0.6373 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.009794/0.6635, allocations: 5.118 MB / 0.6423 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.6638, allocations: 0.5091 MB / 0.6428 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.6679, allocations: 2.041 MB / 0.6448 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/0.6683, allocations: 89.69 kB / 0.6449 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.6702, allocations: 1.996 MB / 0.6468 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.6712, allocations: 0.9707 MB / 0.6478 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.6727, allocations: 0.704 MB / 0.6485 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6728, allocations: 317 kB / 0.6488 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.6755, allocations: 1.612 MB / 0.6504 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.6791, allocations: 2.927 MB / 0.6532 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/0.6852, allocations: 4.718 MB / 0.6578 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.604e-05/0.6853, allocations: 12 kB / 0.6578 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.00848/0.6938, allocations: 5.036 MB / 0.6628 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.6938, allocations: 24 kB / 0.6628 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.065e-05/0.6939, allocations: 36.08 kB / 0.6628 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.6948, allocations: 331.3 kB / 0.6631 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.6979, allocations: 0.8345 MB / 0.6639 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/0.7053, allocations: 7.909 MB / 0.6717 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.7082, allocations: 491.9 kB / 0.6721 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/0.7088, allocations: 168 kB / 0.6723 GB, free: 10.89 MB / 0.5294 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.003367/0.7122, allocations: 1.71 MB / 0.674 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.713, allocations: 237.1 kB / 0.6742 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/0.7184, allocations: 3.072 MB / 0.6772 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/0.7185, allocations: 15.94 kB / 0.6772 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.7185, allocations: 4 kB / 0.6772 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/0.7202, allocations: 0.6534 MB / 0.6778 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/0.7209, allocations: 75.97 kB / 0.6779 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.7225, allocations: 171.8 kB / 0.6781 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/0.7229, allocations: 202.2 kB / 0.6783 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007609/0.7305, allocations: 4.536 MB / 0.6827 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008016/0.7386, allocations: 5.91 MB / 0.6885 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002289/0.7409, allocations: 1.61 MB / 0.69 GB, free: 8.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002593/0.7435, allocations: 1.379 MB / 0.6914 GB, free: 7.176 MB / 0.545 GB Notification: Performance of Backend: time 9.51e-07/0.7435, allocations: 0 / 0.6914 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007844/0.7514, allocations: 3.331 MB / 0.6946 GB, free: 3.793 MB / 0.545 GB Notification: Performance of SimCode: time 0.01567/0.7671, allocations: 8.366 MB / 0.7028 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.3714/1.139, allocations: 49.77 MB / 0.7514 GB, free: 177.1 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/MultiSensorTest/MultiSensorTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.MultiSensorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches