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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008965/0.0008964, allocations: 89.5 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 45.15 MB / 389.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.239e-05, allocations: 8 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09369, allocations: 63.24 MB / 0.5114 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4889, allocations: 111.6 MB / 0.6204 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4891, allocations: 70.59 kB / 0.6205 GB, free: 14.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5582/1.047, allocations: 140.2 MB / 0.7574 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/1.047, allocations: 0 / 0.7574 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002461/1.048, allocations: 109.5 kB / 0.7575 GB, free: 117.1 MB / 0.5261 GB 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.01533/1.063, allocations: 4.71 MB / 0.7621 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.063, allocations: 12.88 kB / 0.7621 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003276/1.066, allocations: 0.6844 MB / 0.7628 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/1.082, allocations: 2.486 MB / 0.7652 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008213/1.09, allocations: 2.992 MB / 0.7681 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/1.091, allocations: 360.3 kB / 0.7684 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/1.092, allocations: 473.2 kB / 0.7689 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.105, allocations: 7.229 MB / 0.776 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/1.105, allocations: 12.72 kB / 0.776 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/1.105, allocations: 198.8 kB / 0.7762 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002691/1.106, allocations: 331.3 kB / 0.7765 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009619/1.115, allocations: 6.346 MB / 0.7827 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/1.146, allocations: 22.97 MB / 0.8051 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008744/1.155, allocations: 11.75 MB / 0.8166 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/1.157, allocations: 1.655 MB / 0.8182 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.157, allocations: 216.9 kB / 0.8184 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/1.159, allocations: 2.003 MB / 0.8204 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=288): time 4.538e-06/1.159, allocations: 0 / 0.8204 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.004425/1.164, allocations: 3.242 MB / 0.8235 GB, free: 94.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.164, allocations: 0.5045 MB / 0.824 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.166, allocations: 1.862 MB / 0.8258 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/1.167, allocations: 91.62 kB / 0.8259 GB, free: 93.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.168, allocations: 2.03 MB / 0.8279 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006403/1.169, allocations: 0.9596 MB / 0.8288 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.169, allocations: 76.53 kB / 0.8289 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.169, allocations: 464.3 kB / 0.8294 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.171, allocations: 1.555 MB / 0.8309 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/1.174, allocations: 2.849 MB / 0.8337 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/1.177, allocations: 2.163 MB / 0.8358 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/1.177, allocations: 10.78 kB / 0.8358 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006637/1.183, allocations: 4.933 MB / 0.8406 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.183, allocations: 21.53 kB / 0.8406 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.183, allocations: 36.44 kB / 0.8407 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007186/1.184, allocations: 329.7 kB / 0.841 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/1.187, allocations: 0.8511 MB / 0.8418 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/1.191, allocations: 7.122 MB / 0.8488 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.194, allocations: 491.8 kB / 0.8492 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/1.194, allocations: 175.8 kB / 0.8494 GB, free: 78.92 MB / 0.5261 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 ($PRE.meanpowerA.y_last,meanpowerA.y_last,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y_last,rmsiA.mean.y_last,$PRE.rmsvA.mean.y_last,rmsvA.mean.y_last,$PRE.meanpowerM[1].y_last,meanpowerM[1].y_last,$PRE.meanpowerM[2].y_last,meanpowerM[2].y_last,$PRE.meanpowerM[3].y_last,meanpowerM[3].y_last,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y_last,rmsiM[3].mean.y_last,$PRE.rmsiM[2].mean.y_last,rmsiM[2].mean.y_last,$PRE.rmsiM[1].mean.y_last,rmsiM[1].mean.y_last,$PRE.rmsvM[3].mean.y_last,rmsvM[3].mean.y_last,$PRE.rmsvM[2].mean.y_last,rmsvM[2].mean.y_last,$PRE.rmsvM[1].mean.y_last,rmsvM[1].mean.y_last) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005193/1.195, allocations: 375.5 kB / 0.8498 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/1.195, allocations: 246.4 kB / 0.85 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/1.199, allocations: 3.003 MB / 0.8529 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.199, allocations: 31.09 kB / 0.853 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.199, allocations: 3.594 kB / 0.853 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.199, allocations: 18.25 kB / 0.853 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/1.209, allocations: 8.615 MB / 0.8614 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.209, allocations: 4 kB / 0.8614 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.211, allocations: 0.5093 MB / 0.8619 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/1.212, allocations: 278.4 kB / 0.8622 GB, free: 72.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.212, allocations: 78.5 kB / 0.8622 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/1.216, allocations: 7.067 MB / 0.8691 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.217, allocations: 6.469 kB / 0.8691 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/1.223, allocations: 5.843 MB / 0.8748 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008105/1.224, allocations: 375.7 kB / 0.8752 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/1.224, allocations: 75.73 kB / 0.8753 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.225, allocations: 182.6 kB / 0.8754 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/1.226, allocations: 204.2 kB / 0.8756 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.226, allocations: 95.73 kB / 0.8757 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001609/1.228, allocations: 1.396 MB / 0.8771 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.228, allocations: 0 / 0.8771 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003268/1.231, allocations: 1.276 MB / 0.8783 GB, free: 56.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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_last,rmsvM[2].mean.y_last,rmsvM[3].mean.y_last,rmsiM[1].mean.y_last,rmsiM[2].mean.y_last,rmsiM[3].mean.y_last,meanpowerM[1].y_last,meanpowerM[2].y_last,meanpowerM[3].y_last,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y_last,rmsiA.mean.y_last,meanpowerA.y_last) * 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 (289): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006662/1.238, allocations: 7.312 MB / 0.8855 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006428/1.244, allocations: 4.249 MB / 0.8896 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.244, allocations: 0.5938 kB / 0.8896 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.246, allocations: 2.182 MB / 0.8918 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.249, allocations: 425.1 kB / 0.8922 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.262, allocations: 8.974 MB / 0.9009 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/1.265, allocations: 3.45 MB / 0.9043 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002903/1.268, allocations: 1.136 MB / 0.9054 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.27, allocations: 1.692 MB / 0.9071 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/1.27, allocations: 0 / 0.9071 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3732/1.643, allocations: 65.72 MB / 0.9712 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/1.643, allocations: 170.5 kB / 0.9714 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/5.059, allocations: 0 / 0.9714 GB, free: 111.5 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest_res.mat does not exist to compare? outputFormat=mat