Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.MultiSensorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 112.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 79.81 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3179, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MultiSensorTest): time 0.01388/0.3318, allocations: 11.57 MB / 0.543 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.3402, allocations: 3.31 MB / 0.5462 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.3423, allocations: 75.44 kB / 0.5463 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007061/0.3494, allocations: 3.054 MB / 0.5493 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.3537, allocations: 1.155 MB / 0.5504 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.3571, allocations: 1.317 MB / 0.5517 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006171/0.3633, allocations: 5.031 MB / 0.5566 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.3765, allocations: 9.1 MB / 0.5655 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.3806, allocations: 2.528 MB / 0.5679 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.3856, allocations: 2.943 MB / 0.5708 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002207/0.3879, allocations: 0.6328 MB / 0.5714 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.3913, allocations: 0.8397 MB / 0.5722 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.3936, allocations: 1.558 MB / 0.5738 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0055/0.3992, allocations: 2.831 MB / 0.5765 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.4102, allocations: 8.804 MB / 0.5851 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4102, allocations: 0 / 0.5851 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4102, allocations: 0 / 0.5851 GB, free: 10.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000256/0.4105, allocations: 0 / 0.5851 GB, free: 10.78 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.0165/0.427, allocations: 6.249 MB / 0.5912 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.427, allocations: 8.031 kB / 0.5912 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/0.4473, allocations: 3.565 MB / 0.5947 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/0.4537, allocations: 2.945 MB / 0.5976 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.4541, allocations: 361.6 kB / 0.5979 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.4559, allocations: 495.9 kB / 0.5984 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.4746, allocations: 7.451 MB / 0.6057 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/0.4749, allocations: 11.91 kB / 0.6057 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/0.4763, allocations: 200 kB / 0.6059 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.4766, allocations: 264.8 kB / 0.6061 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.4904, allocations: 6.927 MB / 0.6129 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04055/0.531, allocations: 22.91 MB / 0.6353 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.544, allocations: 11.84 MB / 0.6468 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.5469, allocations: 1.732 MB / 0.6485 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.5472, allocations: 228.5 kB / 0.6488 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003462/0.5507, allocations: 2.071 MB / 0.6508 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=288): time 1.126e-05/0.5508, allocations: 0 / 0.6508 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.009125/0.5599, allocations: 5.123 MB / 0.6558 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003306/0.5603, allocations: 0.5011 MB / 0.6563 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005271/0.5655, allocations: 2.127 MB / 0.6583 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.5659, allocations: 89.69 kB / 0.6584 GB, free: 12.77 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.5679, allocations: 2.032 MB / 0.6604 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009487/0.5688, allocations: 0.9668 MB / 0.6614 GB, free: 9.727 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.5702, allocations: 0.7001 MB / 0.662 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.5703, allocations: 313.1 kB / 0.6623 GB, free: 8.711 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.5729, allocations: 1.627 MB / 0.6639 GB, free: 7.082 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.5762, allocations: 2.935 MB / 0.6668 GB, free: 3.586 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/0.5821, allocations: 4.727 MB / 0.6714 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-05/0.5822, allocations: 12 kB / 0.6714 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008263/0.5904, allocations: 5.078 MB / 0.6764 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.5905, allocations: 20 kB / 0.6764 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.577e-05/0.5906, allocations: 40 kB / 0.6764 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008839/0.5915, allocations: 323.5 kB / 0.6767 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.5944, allocations: 0.8345 MB / 0.6776 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.6013, allocations: 7.917 MB / 0.6853 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.604, allocations: 488 kB / 0.6858 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/0.6045, allocations: 168 kB / 0.6859 GB, free: 14.86 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.003067/0.6076, allocations: 1.718 MB / 0.6876 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00064/0.6083, allocations: 245 kB / 0.6878 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/0.6137, allocations: 3.075 MB / 0.6908 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/0.6138, allocations: 15.95 kB / 0.6909 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6138, allocations: 4 kB / 0.6909 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6152, allocations: 0.6573 MB / 0.6915 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/0.6158, allocations: 79.91 kB / 0.6916 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.6173, allocations: 171.8 kB / 0.6917 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.6177, allocations: 206.2 kB / 0.6919 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007396/0.6251, allocations: 4.547 MB / 0.6964 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008207/0.6334, allocations: 5.903 MB / 0.7021 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00218/0.6356, allocations: 1.601 MB / 0.7037 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002449/0.638, allocations: 1.436 MB / 0.7051 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of Backend: time 4.2e-07/0.638, allocations: 0 / 0.7051 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007033/0.6451, allocations: 3.352 MB / 0.7084 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of SimCode: time 0.25/0.8951, allocations: 8.475 MB / 0.7167 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06903/0.9642, allocations: 51.39 MB / 0.7668 GB, free: 125.6 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.MultiSensorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches