Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001557/0.001561, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001213/0.001213, allocations: 89.8 kB / 270.9 MB, free: 8.363 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.6153/0.6153, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 12 kB / 431.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01091/0.1548, allocations: 6.196 MB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006676/0.1615, allocations: 2.218 MB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.1628, allocations: 24 kB / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.1642, allocations: 266.4 kB / 499 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003934/0.1682, allocations: 0.8297 MB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.1716, allocations: 0.7289 MB / 0.4888 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.3446/0.5163, allocations: 0.9776 MB / 0.4898 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/0.5214, allocations: 1.48 MB / 0.4912 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.5231, allocations: 0.4963 MB / 0.4917 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.5251, allocations: 0.6241 MB / 0.4923 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.5257, allocations: 57.56 kB / 0.4924 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5272, allocations: 235.3 kB / 0.4926 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.5276, allocations: 235.3 kB / 0.4928 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.5283, allocations: 249.1 kB / 0.4931 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.5315, allocations: 1.303 MB / 0.4943 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5316, allocations: 0 / 0.4943 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.217e-06/0.5316, allocations: 1.422 kB / 0.4943 GB, free: 34.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.121e-05/0.5317, allocations: 1.125 kB / 0.4943 GB, free: 34.65 MB / 378.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.01184/0.5435, allocations: 2.172 MB / 0.4965 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.5436, allocations: 9.375 kB / 0.4965 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007098/0.5443, allocations: 198.8 kB / 0.4967 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.5606, allocations: 1.507 MB / 0.4981 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.5629, allocations: 0.5973 MB / 0.4987 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5631, allocations: 99.19 kB / 0.4988 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.5636, allocations: 136 kB / 0.4989 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/0.5686, allocations: 1.519 MB / 0.5004 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.737e-05/0.5688, allocations: 0 / 0.5004 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.569, allocations: 58.38 kB / 0.5005 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.5691, allocations: 39.5 kB / 0.5005 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00525/0.5743, allocations: 1.594 MB / 0.5021 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.5891, allocations: 5.548 MB / 0.5075 GB, free: 31.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.5928, allocations: 2.37 MB / 0.5098 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.5931, allocations: 104.9 kB / 0.5099 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.5932, allocations: 52.81 kB / 0.51 GB, free: 29.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 5.5e-06/0.5932, allocations: 0 / 0.51 GB, free: 29.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.01672/0.61, allocations: 3.143 MB / 0.513 GB, free: 28.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.6101, allocations: 98.05 kB / 0.5131 GB, free: 28.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/0.6109, allocations: 476.7 kB / 0.5136 GB, free: 28.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.6111, allocations: 48.77 kB / 0.5136 GB, free: 28.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.6114, allocations: 0.5099 MB / 0.5141 GB, free: 27.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.6118, allocations: 436.3 kB / 0.5145 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.6119, allocations: 23.62 kB / 0.5146 GB, free: 27.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6121, allocations: 360.6 kB / 0.5149 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.6135, allocations: 475 kB / 0.5154 GB, free: 26.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.6151, allocations: 0.7399 MB / 0.5161 GB, free: 26.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.6167, allocations: 0.5372 MB / 0.5166 GB, free: 26.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.6168, allocations: 3.438 kB / 0.5166 GB, free: 26.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004734/0.6215, allocations: 1.614 MB / 0.5182 GB, free: 25.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6216, allocations: 12.34 kB / 0.5182 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.6216, allocations: 10.61 kB / 0.5182 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.6243, allocations: 0.5288 MB / 0.5187 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.626, allocations: 216.4 kB / 0.5189 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.6382, allocations: 5.017 MB / 0.5238 GB, free: 22.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.6401, allocations: 137 kB / 0.524 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.6404, allocations: 58.52 kB / 0.524 GB, free: 22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0008491/0.6413, allocations: 270.5 kB / 0.5243 GB, free: 21.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.6416, allocations: 86 kB / 0.5244 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.6462, allocations: 1.594 MB / 0.5259 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.6463, allocations: 19.83 kB / 0.5259 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6463, allocations: 0 / 0.5259 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.6463, allocations: 9.766 kB / 0.5259 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/0.6542, allocations: 2.903 MB / 0.5288 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.6542, allocations: 0 / 0.5288 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6556, allocations: 152.1 kB / 0.5289 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.6583, allocations: 0.5176 MB / 0.5294 GB, free: 19.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/0.6587, allocations: 26.73 kB / 0.5295 GB, free: 19.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.671, allocations: 5.007 MB / 0.5343 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6711, allocations: 5.781 kB / 0.5343 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/0.6783, allocations: 2.335 MB / 0.5366 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/0.6791, allocations: 285.5 kB / 0.5369 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.6793, allocations: 20.75 kB / 0.5369 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6805, allocations: 55.42 kB / 0.537 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/0.6811, allocations: 110.9 kB / 0.5371 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.6812, allocations: 34.73 kB / 0.5371 GB, free: 14.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006385/0.6818, allocations: 315.3 kB / 0.5374 GB, free: 14.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6819, allocations: 0 / 0.5374 GB, free: 14.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002378/0.6842, allocations: 416.9 kB / 0.5378 GB, free: 14.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.007653/0.6919, allocations: 3.072 MB / 0.5408 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006615/0.6987, allocations: 1.876 MB / 0.5426 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.6987, allocations: 1.469 kB / 0.5426 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004468/0.7032, allocations: 1.248 MB / 0.5439 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.7043, allocations: 79.23 kB / 0.5439 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.7245, allocations: 11.59 MB / 0.5553 GB, free: 18.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.7256, allocations: 1.103 MB / 0.5563 GB, free: 17.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7267, allocations: 415.8 kB / 0.5567 GB, free: 17.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7267, allocations: 0 / 0.5567 GB, free: 17.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.113/3.84, allocations: 21.69 MB / 0.5779 GB, free: 13.99 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat