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.001488/0.001488, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008781, allocations: 100.5 kB / 286.7 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 45.15 MB / 383.8 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.854e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 63.25 MB / 0.5044 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4821/0.613, allocations: 110.9 MB / 0.6128 GB, free: 7.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.6132, allocations: 69.22 kB / 0.6128 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.296/0.9092, allocations: 138.7 MB / 0.7483 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9093, allocations: 0 / 0.7483 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000299/0.9096, allocations: 111.9 kB / 0.7484 GB, free: 3.879 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.3557/1.265, allocations: 4.69 MB / 0.753 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.265, allocations: 10.97 kB / 0.753 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/1.281, allocations: 2.48 MB / 0.7554 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00837/1.29, allocations: 2.989 MB / 0.7583 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/1.29, allocations: 150.1 kB / 0.7585 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/1.292, allocations: 288.5 kB / 0.7587 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01386/1.306, allocations: 5.745 MB / 0.7644 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/1.326, allocations: 6.465 MB / 0.7707 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/1.327, allocations: 15.58 kB / 0.7707 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008269/1.327, allocations: 3.844 kB / 0.7707 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004239/1.328, allocations: 335.6 kB / 0.771 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/1.37, allocations: 22.54 MB / 0.793 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.381, allocations: 13.39 MB / 0.8061 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.383, allocations: 1.669 MB / 0.8077 GB, free: 99.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/1.383, allocations: 217.5 kB / 0.8079 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/1.386, allocations: 2.001 MB / 0.8099 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=291): time 4.829e-06/1.386, allocations: 0 / 0.8099 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=291): time 0.007819/1.394, allocations: 3.944 MB / 0.8137 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/1.394, allocations: 0.5011 MB / 0.8142 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.397, allocations: 1.773 MB / 0.816 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/1.397, allocations: 46.42 kB / 0.816 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.399, allocations: 2.007 MB / 0.818 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/1.4, allocations: 0.9436 MB / 0.8189 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.4, allocations: 0 / 0.8189 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.401, allocations: 469.2 kB / 0.8193 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/1.402, allocations: 1.575 MB / 0.8209 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.405, allocations: 2.844 MB / 0.8236 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/1.411, allocations: 2.994 MB / 0.8266 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/1.411, allocations: 7.469 kB / 0.8266 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01075/1.422, allocations: 5.548 MB / 0.832 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/1.422, allocations: 28 kB / 0.832 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-05/1.422, allocations: 39.16 kB / 0.8321 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/1.422, allocations: 331.6 kB / 0.8324 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.425, allocations: 0.8666 MB / 0.8332 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006908/1.432, allocations: 6.872 MB / 0.8399 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/1.438, allocations: 443.6 kB / 0.8404 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.439, allocations: 170.9 kB / 0.8405 GB, free: 83.65 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 (470): * Single equations (assignments): 466 * 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.001837/1.441, allocations: 257.8 kB / 0.8408 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.017/1.458, allocations: 3.937 MB / 0.8446 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.46, allocations: 247.6 kB / 0.8448 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/1.476, allocations: 3.699 MB / 0.8485 GB, free: 80.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-05/1.476, allocations: 33.48 kB / 0.8485 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-05/1.476, allocations: 7.656 kB / 0.8485 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.476, allocations: 14.91 kB / 0.8485 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/1.508, allocations: 8.762 MB / 0.8571 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.508, allocations: 3.938 kB / 0.8571 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004349/1.513, allocations: 0.536 MB / 0.8576 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/1.514, allocations: 271.6 kB / 0.8579 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008647/1.515, allocations: 41.55 kB / 0.8579 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007606/1.522, allocations: 6.803 MB / 0.8645 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.523, allocations: 4 kB / 0.8645 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/1.544, allocations: 6.624 MB / 0.871 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.545, allocations: 372.7 kB / 0.8714 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.546, allocations: 31.55 kB / 0.8714 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.549, allocations: 150.5 kB / 0.8715 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006433/1.55, allocations: 209.8 kB / 0.8717 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/1.55, allocations: 95.5 kB / 0.8718 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003152/1.554, allocations: 1.304 MB / 0.8731 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.554, allocations: 0 / 0.8731 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008011/1.562, allocations: 1.164 MB / 0.8742 GB, free: 62.62 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 (292): * Single equations (assignments): 276 * 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.02126/1.583, allocations: 8.026 MB / 0.8821 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009705/1.593, allocations: 4.203 MB / 0.8862 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/1.593, allocations: 3.938 kB / 0.8862 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004686/1.598, allocations: 2.181 MB / 0.8883 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/1.602, allocations: 363.1 kB / 0.8887 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/1.629, allocations: 8.831 MB / 0.8973 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004234/1.634, allocations: 3.449 MB / 0.9007 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005559/1.639, allocations: 1.155 MB / 0.9018 GB, free: 38.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003833/1.643, allocations: 1.693 MB / 0.9034 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.193e-06/1.643, allocations: 0 / 0.9034 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4875/2.131, allocations: 63.2 MB / 0.9652 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/2.131, allocations: 132.1 kB / 0.9653 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/5.854, allocations: 3.188 kB / 0.9653 GB, free: 105.4 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