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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.2 MB / 218.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008694, allocations: 82.62 kB / 267.1 MB, free: 9.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3658/0.3658, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.128e-05, allocations: 3.984 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 58.84 MB / 484.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5326, allocations: 108.7 MB / 0.5789 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5329, allocations: 74.3 kB / 0.579 GB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5612/1.094, allocations: 131.9 MB / 0.7078 GB, free: 88.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.094, allocations: 0 / 0.7078 GB, free: 88.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000254/1.094, allocations: 105.6 kB / 0.7079 GB, free: 88.46 MB / 490.7 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.01565/1.11, allocations: 4.628 MB / 0.7124 GB, free: 86.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.11, allocations: 13.45 kB / 0.7124 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/1.125, allocations: 2.429 MB / 0.7148 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008909/1.134, allocations: 2.89 MB / 0.7176 GB, free: 85.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005303/1.134, allocations: 357.9 kB / 0.718 GB, free: 85.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/1.137, allocations: 477.5 kB / 0.7184 GB, free: 85.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/1.156, allocations: 7.408 MB / 0.7257 GB, free: 83.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/1.157, allocations: 9.812 kB / 0.7257 GB, free: 83.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008312/1.158, allocations: 198.6 kB / 0.7259 GB, free: 83.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/1.158, allocations: 306.7 kB / 0.7261 GB, free: 83.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.17, allocations: 6.661 MB / 0.7327 GB, free: 80.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/1.207, allocations: 22.7 MB / 0.7548 GB, free: 69.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/1.215, allocations: 7.285 MB / 0.7619 GB, free: 64.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.218, allocations: 3.005 MB / 0.7649 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/1.219, allocations: 166 kB / 0.765 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003646/1.222, allocations: 3.119 MB / 0.7681 GB, free: 62.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=414): time 5.46e-06/1.222, allocations: 0 / 0.7681 GB, free: 62.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=414): time 0.007373/1.23, allocations: 5.727 MB / 0.7737 GB, free: 59.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.23, allocations: 470.3 kB / 0.7741 GB, free: 59.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.232, allocations: 1.433 MB / 0.7755 GB, free: 58.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000339/1.232, allocations: 107.5 kB / 0.7756 GB, free: 58.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.234, allocations: 1.659 MB / 0.7772 GB, free: 57.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009805/1.235, allocations: 1.363 MB / 0.7786 GB, free: 56.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.235, allocations: 74.5 kB / 0.7786 GB, free: 56.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/1.235, allocations: 481 kB / 0.7791 GB, free: 56.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/1.238, allocations: 2.252 MB / 0.7813 GB, free: 55.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/1.241, allocations: 3.076 MB / 0.7843 GB, free: 53.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/1.244, allocations: 2.762 MB / 0.787 GB, free: 51.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.244, allocations: 4 kB / 0.787 GB, free: 51.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.008274/1.252, allocations: 6.558 MB / 0.7934 GB, free: 45.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.252, allocations: 16 kB / 0.7934 GB, free: 45.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/1.252, allocations: 27.94 kB / 0.7934 GB, free: 45.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/1.254, allocations: 1.409 MB / 0.7948 GB, free: 44.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.257, allocations: 0.7464 MB / 0.7955 GB, free: 44.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/1.261, allocations: 4.596 MB / 0.8 GB, free: 39.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/1.265, allocations: 477.1 kB / 0.8005 GB, free: 39.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006141/1.265, allocations: 162.3 kB / 0.8006 GB, free: 39.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y,meanpowerA.y,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y,rmsiA.mean.y,$PRE.rmsvA.mean.y,rmsvA.mean.y,$PRE.meanpowerM[1].y,meanpowerM[1].y,$PRE.meanpowerM[2].y,meanpowerM[2].y,$PRE.meanpowerM[3].y,meanpowerM[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y,rmsiM[3].mean.y,$PRE.rmsiM[2].mean.y,rmsiM[2].mean.y,$PRE.rmsiM[1].mean.y,rmsiM[1].mean.y,$PRE.rmsvM[3].mean.y,rmsvM[3].mean.y,$PRE.rmsvM[2].mean.y,rmsvM[2].mean.y,$PRE.rmsvM[1].mean.y,rmsvM[1].mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007779/1.266, allocations: 346.5 kB / 0.801 GB, free: 38.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/1.267, allocations: 252.2 kB / 0.8012 GB, free: 38.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007765/1.274, allocations: 5.651 MB / 0.8067 GB, free: 33.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/1.274, allocations: 87.53 kB / 0.8068 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.274, allocations: 7.953 kB / 0.8068 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-05/1.275, allocations: 16.03 kB / 0.8068 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.291, allocations: 12.52 MB / 0.8191 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.291, allocations: 4 kB / 0.8191 GB, free: 21.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.293, allocations: 0.5882 MB / 0.8196 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.295, allocations: 1.377 MB / 0.821 GB, free: 19.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004115/1.295, allocations: 99.94 kB / 0.8211 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/1.299, allocations: 4.571 MB / 0.8256 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.299, allocations: 0 / 0.8256 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.31, allocations: 9.717 MB / 0.835 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.311, allocations: 401.2 kB / 0.8354 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/1.311, allocations: 91.92 kB / 0.8355 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.313, allocations: 215.8 kB / 0.8357 GB, free: 4.387 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/1.314, allocations: 290.2 kB / 0.836 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.314, allocations: 124 kB / 0.8361 GB, free: 3.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001302/1.315, allocations: 1.092 MB / 0.8372 GB, free: 2.887 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.315, allocations: 0 / 0.8372 GB, free: 2.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003072/1.318, allocations: 1.265 MB / 0.8384 GB, free: 1.617 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (inductorQS.pin_p.reference.gamma,sineVoltageQM.plug_p.reference.gamma,inductorM.inductor[1].i,inductorM.inductor[2].i,inductorM.inductor[3].i,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x,inductorA.i,rmsvA.mean.x,rmsiA.mean.x,meanpowerA.x) * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsvM[1].mean.y,rmsvM[2].mean.y,rmsvM[3].mean.y,rmsiM[1].mean.y,rmsiM[2].mean.y,rmsiM[3].mean.y,meanpowerM[1].y,meanpowerM[2].y,meanpowerM[3].y,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y,rmsiA.mean.y,meanpowerA.y) * Number of discrete states: 12 (meanpowerA.x,rmsiA.mean.x,rmsvA.mean.x,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005563/1.319, allocations: 315.9 kB / 0.8387 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008486/1.327, allocations: 5.65 MB / 0.8442 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.327, allocations: 4 kB / 0.8442 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/1.332, allocations: 2.968 MB / 0.8471 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.334, allocations: 406.3 kB / 0.8475 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2928/1.627, allocations: 8.775 MB / 0.8561 GB, free: 97.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.631, allocations: 3.449 MB / 0.8595 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002885/1.634, allocations: 0.9478 MB / 0.8604 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/1.635, allocations: 211.4 kB / 0.8606 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/1.635, allocations: 0 / 0.8606 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.08478/1.719, allocations: 49.22 MB / 0.9087 GB, free: 93.96 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/MulitSensorTest/MulitSensorTest.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches