Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001491, allocations: 181.9 kB / 15.76 MB, free: 6.363 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.765/1.765, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001018/0.001018, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2732/0.2732, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6269, allocations: 100.9 MB / 0.5774 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6271, allocations: 85 kB / 0.5775 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08601/0.7132, allocations: 39.24 MB / 0.6158 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7132, allocations: 0 / 0.6158 GB, free: 14.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.276e-05/0.7133, allocations: 35.92 kB / 0.6158 GB, free: 14.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005049/0.7183, allocations: 1.768 MB / 0.6175 GB, free: 12.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.7184, allocations: 8.031 kB / 0.6175 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002837/0.7187, allocations: 202.7 kB / 0.6177 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/0.7254, allocations: 1.063 MB / 0.6188 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.7267, allocations: 0.6041 MB / 0.6194 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.7268, allocations: 104.9 kB / 0.6195 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.727, allocations: 129.4 kB / 0.6196 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.7296, allocations: 1.519 MB / 0.6211 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.7297, allocations: 7.906 kB / 0.6211 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.7298, allocations: 54.31 kB / 0.6211 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.449e-05/0.7299, allocations: 35.44 kB / 0.6212 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.7325, allocations: 1.598 MB / 0.6227 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00838/0.7409, allocations: 5.615 MB / 0.6282 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.7434, allocations: 2.381 MB / 0.6305 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.7436, allocations: 114 kB / 0.6306 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.7436, allocations: 43.56 kB / 0.6307 GB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 3.267e-06/0.7436, allocations: 0 / 0.6307 GB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.008729/0.7524, allocations: 3.141 MB / 0.6337 GB, free: 12.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.7524, allocations: 90.11 kB / 0.6338 GB, free: 12.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.753, allocations: 429.1 kB / 0.6342 GB, free: 12.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/0.7531, allocations: 49.7 kB / 0.6343 GB, free: 12.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.7534, allocations: 471.4 kB / 0.6347 GB, free: 11.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.7537, allocations: 425.8 kB / 0.6351 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.7538, allocations: 24 kB / 0.6352 GB, free: 11.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.754, allocations: 382.8 kB / 0.6355 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.7548, allocations: 470.4 kB / 0.636 GB, free: 10.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.7557, allocations: 0.7142 MB / 0.6367 GB, free: 9.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.7567, allocations: 0.5296 MB / 0.6372 GB, free: 8.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.7567, allocations: 4 kB / 0.6372 GB, free: 8.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002719/0.7594, allocations: 1.607 MB / 0.6388 GB, free: 7.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.7594, allocations: 11.95 kB / 0.6388 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.7595, allocations: 8.406 kB / 0.6388 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.761, allocations: 0.52 MB / 0.6393 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.7618, allocations: 207.7 kB / 0.6395 GB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/0.7688, allocations: 4.42 MB / 0.6438 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.7699, allocations: 126.8 kB / 0.6439 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.77, allocations: 52 kB / 0.644 GB, free: 1.832 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006871/0.7707, allocations: 281.4 kB / 0.6443 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.7709, allocations: 90.89 kB / 0.6443 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.7739, allocations: 1.579 MB / 0.6459 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.7739, allocations: 12 kB / 0.6459 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7739, allocations: 8.109 kB / 0.6459 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.7739, allocations: 11.91 kB / 0.6459 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/0.7787, allocations: 2.912 MB / 0.6488 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7787, allocations: 0 / 0.6488 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.7793, allocations: 151.8 kB / 0.6489 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.7807, allocations: 0.5067 MB / 0.6494 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.7808, allocations: 31.98 kB / 0.6494 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006384/0.7872, allocations: 4.413 MB / 0.6537 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7873, allocations: 0 / 0.6537 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.7911, allocations: 2.335 MB / 0.656 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.7916, allocations: 295.7 kB / 0.6563 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7917, allocations: 28 kB / 0.6563 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.7923, allocations: 55.97 kB / 0.6564 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.7925, allocations: 93.17 kB / 0.6565 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.7926, allocations: 39.98 kB / 0.6565 GB, free: 4.727 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003961/0.793, allocations: 314.9 kB / 0.6568 GB, free: 4.418 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.793, allocations: 0 / 0.6568 GB, free: 4.418 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001354/0.7944, allocations: 423 kB / 0.6572 GB, free: 4.004 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.004169/0.7986, allocations: 3.071 MB / 0.6602 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003705/0.8023, allocations: 1.79 MB / 0.662 GB, free: 15.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8023, allocations: 1.188 kB / 0.662 GB, free: 15.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.8047, allocations: 1.161 MB / 0.6631 GB, free: 13.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.8054, allocations: 91.3 kB / 0.6632 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.8189, allocations: 11.5 MB / 0.6744 GB, free: 2.125 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.8196, allocations: 1.107 MB / 0.6755 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005929/0.8202, allocations: 115 kB / 0.6756 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/0.8207, allocations: 399.3 kB / 0.676 GB, free: 492 kB / 474.7 MB Notification: Performance of SimCode: time 6.402e-06/0.8207, allocations: 3.938 kB / 0.676 GB, free: 488 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/0.8896, allocations: 23.86 MB / 0.6993 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/0.89, allocations: 225.2 kB / 0.6995 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/3.766, allocations: 3.938 kB / 0.6995 GB, free: 8.387 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat