Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.002111/0.002112, allocations: 186.5 kB / 13.19 MB, free: 2.121 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.799/1.799, 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.0009498/0.0009497, allocations: 82.62 kB / 267 MB, free: 9.266 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.5284/0.5284, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.66e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5341/0.7017, allocations: 113.1 MB / 0.5834 GB, free: 8.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.7021, allocations: 86.31 kB / 0.5834 GB, free: 8.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.652/2.355, allocations: 468.9 MB / 1.041 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.126e-06/2.355, allocations: 0 / 1.041 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001654/2.356, allocations: 299.7 kB / 1.042 GB, free: 40.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.0566/2.413, allocations: 13.53 MB / 1.055 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/2.413, allocations: 8.031 kB / 1.055 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01165/2.425, allocations: 2.011 MB / 1.057 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04489/2.47, allocations: 8.519 MB / 1.065 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02694/2.497, allocations: 8.818 MB / 1.074 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002157/2.499, allocations: 1.031 MB / 1.075 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008025/2.507, allocations: 1.312 MB / 1.076 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8386/3.345, allocations: 24.61 MB / 1.1 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006549/3.346, allocations: 16.66 kB / 1.1 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006874/3.353, allocations: 0.562 MB / 1.101 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001344/3.354, allocations: 0.9306 MB / 1.102 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05467/3.409, allocations: 22.05 MB / 1.123 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1767/3.586, allocations: 76.39 MB / 1.198 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0307/3.617, allocations: 20.87 MB / 1.218 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02357/3.64, allocations: 11.63 MB / 1.229 GB, free: 14.74 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/3.741, allocations: 37.79 MB / 1.266 GB, free: 2.453 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/3.741, allocations: 129.9 kB / 1.266 GB, free: 2.316 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=1188): time 2.182e-05/3.742, allocations: 0 / 1.266 GB, free: 2.316 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1188): time 0.0775/3.819, allocations: 23.65 MB / 1.29 GB, free: 2.715 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/3.819, allocations: 172.5 kB / 1.29 GB, free: 2.527 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4456/4.265, allocations: 3.059 MB / 1.293 GB, free: 88.39 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.003057/4.268, allocations: 177.7 kB / 1.293 GB, free: 88.36 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.005023/4.273, allocations: 4.478 MB / 1.297 GB, free: 87.14 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.007098/4.28, allocations: 3.863 MB / 1.301 GB, free: 84.61 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002995/4.283, allocations: 172.1 kB / 1.301 GB, free: 84.61 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001723/4.285, allocations: 0.7522 MB / 1.302 GB, free: 84.29 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01892/4.304, allocations: 7.907 MB / 1.31 GB, free: 84.27 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02023/4.324, allocations: 9.401 MB / 1.319 GB, free: 82.98 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/4.342, allocations: 9.252 MB / 1.328 GB, free: 82.83 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/4.342, allocations: 9.531 kB / 1.328 GB, free: 82.83 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.06038/4.403, allocations: 23.58 MB / 1.351 GB, free: 82.17 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/4.403, allocations: 21.05 kB / 1.351 GB, free: 82.17 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/4.403, allocations: 32.06 kB / 1.351 GB, free: 82.17 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02151/4.425, allocations: 10.27 MB / 1.361 GB, free: 81.82 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006843/4.432, allocations: 1.352 MB / 1.362 GB, free: 81.82 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02719/4.459, allocations: 19.46 MB / 1.381 GB, free: 77.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009674/4.469, allocations: 1.12 MB / 1.382 GB, free: 76.71 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003193/4.472, allocations: 386.7 kB / 1.383 GB, free: 76.63 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * 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: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.00546/4.477, allocations: 0.5567 MB / 1.383 GB, free: 76.23 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003472/4.481, allocations: 0.6006 MB / 1.384 GB, free: 75.9 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05947/4.54, allocations: 24.34 MB / 1.408 GB, free: 66.16 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000612/4.541, allocations: 330.8 kB / 1.408 GB, free: 65.99 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.298e-05/4.541, allocations: 2.531 kB / 1.408 GB, free: 65.99 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002539/4.541, allocations: 47.72 kB / 1.408 GB, free: 65.99 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09863/4.64, allocations: 43.34 MB / 1.45 GB, free: 38.58 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.665e-05/4.64, allocations: 0 / 1.45 GB, free: 38.58 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005747/4.646, allocations: 1.084 MB / 1.451 GB, free: 37.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02166/4.667, allocations: 10.25 MB / 1.461 GB, free: 29.24 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004017/4.672, allocations: 244.1 kB / 1.462 GB, free: 29.03 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/4.7, allocations: 19.39 MB / 1.481 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/4.7, allocations: 3.328 kB / 1.481 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5742/5.274, allocations: 37.08 MB / 1.517 GB, free: 79.86 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009177/5.283, allocations: 2.681 MB / 1.519 GB, free: 79.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005523/5.289, allocations: 163 kB / 1.52 GB, free: 79.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009111/5.298, allocations: 0.5284 MB / 1.52 GB, free: 79.77 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004465/5.302, allocations: 0.8836 MB / 1.521 GB, free: 79.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003173/5.306, allocations: 313.3 kB / 1.521 GB, free: 79.76 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005219/5.311, allocations: 2.334 MB / 1.524 GB, free: 79.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.92e-07/5.311, allocations: 0 / 1.524 GB, free: 79.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01652/5.327, allocations: 3.479 MB / 1.527 GB, free: 79.43 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * 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: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.08227/5.41, allocations: 36.74 MB / 1.563 GB, free: 77.85 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04248/5.452, allocations: 19.82 MB / 1.582 GB, free: 76.1 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/5.452, allocations: 3.031 kB / 1.582 GB, free: 76.1 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02532/5.478, allocations: 10.94 MB / 1.593 GB, free: 72.07 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009691/5.487, allocations: 1.164 MB / 1.594 GB, free: 71.75 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09444/5.582, allocations: 32.97 MB / 1.626 GB, free: 59.65 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02025/5.602, allocations: 9.709 MB / 1.636 GB, free: 52.83 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.008536/5.611, allocations: 2.112 MB / 1.638 GB, free: 51.39 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/5.622, allocations: 4.771 MB / 1.642 GB, free: 46.95 MB / 0.5574 GB Notification: Performance of SimCode: time 2.184e-06/5.622, allocations: 4 kB / 1.642 GB, free: 46.95 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.316/6.938, allocations: 282.8 MB / 1.919 GB, free: 68.46 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/6.939, allocations: 191.4 kB / 1.919 GB, free: 68.23 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/16.06, allocations: 2.875 kB / 1.919 GB, free: 68.23 MB / 0.6043 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat