Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.MulitSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductorA.i|inductorM.inductor.1..i|inductorM.inductor.2..i|inductorM.inductor.3..i|meanpowerA.x|meanpowerM.1..x|meanpowerM.2..x|meanpowerM.3..x|resistorQM.plug_p.reference.gamma|resistorQS.pin_p.reference.gamma|rmsiA.mean.x|rmsiM.1..mean.x|rmsiM.2..mean.x|rmsiM.3..mean.x|rmsvA.mean.x|rmsvM.1..mean.x|rmsvM.2..mean.x|rmsvM.3..mean.x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest") translateModel(ModelicaTest.Electrical.MulitSensorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductorA.i|inductorM.inductor.1..i|inductorM.inductor.2..i|inductorM.inductor.3..i|meanpowerA.x|meanpowerM.1..x|meanpowerM.2..x|meanpowerM.3..x|resistorQM.plug_p.reference.gamma|resistorQS.pin_p.reference.gamma|rmsiA.mean.x|rmsiM.1..mean.x|rmsiM.2..mean.x|rmsiM.3..mean.x|rmsvA.mean.x|rmsvM.1..mean.x|rmsvM.2..mean.x|rmsvM.3..mean.x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111 kB / 17.09 MB, free: 6.016 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.001101/0.001101, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.304/1.304, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2116/0.2116, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.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.001352/0.001352, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MulitSensorTest): time 0.01275/0.1286, allocations: 11.37 MB / 0.4997 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.1357, allocations: 3.202 MB / 0.5028 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.1375, allocations: 71.75 kB / 0.5029 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007036/0.1446, allocations: 3.045 MB / 0.5058 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.1488, allocations: 1.313 MB / 0.5071 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.1515, allocations: 1.141 MB / 0.5082 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005794/0.1573, allocations: 4.938 MB / 0.513 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.1694, allocations: 9.052 MB / 0.5219 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.1731, allocations: 2.501 MB / 0.5243 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.1776, allocations: 2.904 MB / 0.5272 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.1793, allocations: 0.6289 MB / 0.5278 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.1819, allocations: 0.824 MB / 0.5286 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002262/0.1842, allocations: 1.535 MB / 0.5301 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2417/0.4259, allocations: 2.782 MB / 0.5328 GB, free: 16.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4385, allocations: 8.642 MB / 0.5412 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4386, allocations: 0 / 0.5412 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4386, allocations: 0 / 0.5412 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002779/0.4389, allocations: 0 / 0.5412 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1296 * Number of variables: 1296 Notification: Performance of Generate backend data structure: time 0.01705/0.4559, allocations: 6.149 MB / 0.5472 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.456, allocations: 19.12 kB / 0.5473 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/0.4755, allocations: 3.503 MB / 0.5507 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/0.4831, allocations: 2.633 MB / 0.5533 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.4836, allocations: 364.7 kB / 0.5536 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.4855, allocations: 489.7 kB / 0.5541 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.5047, allocations: 7.394 MB / 0.5613 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.5049, allocations: 18.58 kB / 0.5613 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/0.5061, allocations: 195.5 kB / 0.5615 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.5063, allocations: 274.5 kB / 0.5618 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.5192, allocations: 6.877 MB / 0.5685 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.5566, allocations: 22.12 MB / 0.5901 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.5688, allocations: 11.83 MB / 0.6016 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.5714, allocations: 1.734 MB / 0.6033 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.5717, allocations: 140.7 kB / 0.6035 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003366/0.5751, allocations: 2.052 MB / 0.6055 GB, free: 15.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=288): time 9.988e-06/0.5751, allocations: 0 / 0.6055 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=288): time 0.009262/0.5844, allocations: 5.126 MB / 0.6105 GB, free: 9.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/0.5846, allocations: 0.5012 MB / 0.611 GB, free: 9.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.589, allocations: 2.037 MB / 0.6129 GB, free: 7.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003056/0.5893, allocations: 89.69 kB / 0.613 GB, free: 7.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002517/0.5919, allocations: 1.986 MB / 0.615 GB, free: 5.082 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.5929, allocations: 0.9721 MB / 0.6159 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.5944, allocations: 0.7079 MB / 0.6166 GB, free: 3.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5945, allocations: 312.2 kB / 0.6169 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002812/0.5973, allocations: 1.616 MB / 0.6185 GB, free: 1.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.6011, allocations: 2.92 MB / 0.6213 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/0.6075, allocations: 4.714 MB / 0.6259 GB, free: 8.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-05/0.6075, allocations: 8 kB / 0.626 GB, free: 8.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008437/0.616, allocations: 5.039 MB / 0.6309 GB, free: 4.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.616, allocations: 24 kB / 0.6309 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.619e-05/0.6161, allocations: 40 kB / 0.6309 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009438/0.6171, allocations: 336.2 kB / 0.6313 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.62, allocations: 0.8294 MB / 0.6321 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007331/0.6273, allocations: 7.914 MB / 0.6398 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.6304, allocations: 488 kB / 0.6403 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/0.6309, allocations: 172 kB / 0.6404 GB, free: 9.871 MB / 494.1 MB 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,$PRE.meanpowerA.y,$whenCondition12,$whenCondition11,$whenCondition10,rmsiA.mean.y,$PRE.rmsiA.mean.y,rmsvA.mean.y,$PRE.rmsvA.mean.y,meanpowerM[1].y,$PRE.meanpowerM[1].y,meanpowerM[2].y,$PRE.meanpowerM[2].y,meanpowerM[3].y,$PRE.meanpowerM[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsiM[3].mean.y,$PRE.rmsiM[3].mean.y,rmsiM[2].mean.y,$PRE.rmsiM[2].mean.y,rmsiM[1].mean.y,$PRE.rmsiM[1].mean.y,rmsvM[3].mean.y,$PRE.rmsvM[3].mean.y,rmsvM[2].mean.y,$PRE.rmsvM[2].mean.y,rmsvM[1].mean.y,$PRE.rmsvM[1].mean.y) * 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.003577/0.6345, allocations: 1.699 MB / 0.6421 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008413/0.6354, allocations: 245.1 kB / 0.6423 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.6411, allocations: 3.063 MB / 0.6453 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.6411, allocations: 15.95 kB / 0.6453 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.6411, allocations: 0 / 0.6453 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/0.6428, allocations: 0.6458 MB / 0.646 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/0.6436, allocations: 79.97 kB / 0.646 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.6453, allocations: 171.8 kB / 0.6462 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.6458, allocations: 205.1 kB / 0.6464 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007698/0.6535, allocations: 4.559 MB / 0.6508 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008416/0.6619, allocations: 5.895 MB / 0.6566 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002294/0.6642, allocations: 1.598 MB / 0.6582 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002687/0.6669, allocations: 1.379 MB / 0.6595 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of Backend: time 6.11e-07/0.6669, allocations: 0 / 0.6595 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007471/0.6744, allocations: 3.336 MB / 0.6628 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01584/0.6903, allocations: 8.335 MB / 0.6709 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.08865/0.7789, allocations: 50.36 MB / 0.7201 GB, free: 8.48 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/MulitSensorTest/MulitSensorTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches