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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 96.59 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 173.8 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3764/0.3764, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005464, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.149, allocations: 58.86 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007212/0.1562, allocations: 6.202 MB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.161, allocations: 2.211 MB / 451.3 MB, free: 4.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.1623, allocations: 32 kB / 451.3 MB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1636, allocations: 258.4 kB / 451.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.1664, allocations: 0.8257 MB / 452.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.1687, allocations: 0.7289 MB / 453.1 MB, free: 2.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1709, allocations: 0.9756 MB / 454.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/0.1745, allocations: 1.486 MB / 455.6 MB, free: 196 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2396/0.4141, allocations: 0.4953 MB / 456.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.4158, allocations: 0.6176 MB / 456.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.4163, allocations: 57.31 kB / 456.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.4175, allocations: 236.6 kB / 457 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.4179, allocations: 233.1 kB / 457.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.4184, allocations: 240.8 kB / 457.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.4205, allocations: 1.311 MB / 458.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4205, allocations: 2.875 kB / 458.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4205, allocations: 3.844 kB / 458.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.4205, allocations: 0 / 458.7 MB, free: 36.77 MB / 382.1 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.006706/0.4272, allocations: 2.166 MB / 460.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4273, allocations: 9.203 kB / 460.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/0.4276, allocations: 198.6 kB / 461.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4378, allocations: 1.502 MB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.4393, allocations: 0.5926 MB / 463.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.4394, allocations: 102.8 kB / 463.3 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.4396, allocations: 138.3 kB / 463.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.4425, allocations: 1.515 MB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/0.4426, allocations: 6.953 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.4428, allocations: 60.03 kB / 465 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.4428, allocations: 32.84 kB / 465.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.4455, allocations: 1.582 MB / 466.6 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.453, allocations: 5.555 MB / 472.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.4552, allocations: 2.373 MB / 474.6 MB, free: 31.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4554, allocations: 107.2 kB / 474.7 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.4554, allocations: 48.75 kB / 474.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.467e-06/0.4554, allocations: 0 / 474.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008745/0.4642, allocations: 3.143 MB / 477.9 MB, free: 31.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4642, allocations: 90.77 kB / 477.9 MB, free: 31.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.4647, allocations: 483.2 kB / 478.4 MB, free: 31.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.4648, allocations: 45.42 kB / 478.5 MB, free: 31.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.465, allocations: 482.6 kB / 478.9 MB, free: 30.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.4653, allocations: 436.8 kB / 479.4 MB, free: 30.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.4653, allocations: 23.5 kB / 479.4 MB, free: 30.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4655, allocations: 382.7 kB / 479.8 MB, free: 30.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.4662, allocations: 472.5 kB / 480.2 MB, free: 30.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.467, allocations: 0.7457 MB / 481 MB, free: 30.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.4679, allocations: 0.5375 MB / 481.5 MB, free: 29.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4679, allocations: 3.094 kB / 481.5 MB, free: 29.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00262/0.4706, allocations: 1.639 MB / 483.1 MB, free: 29.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4706, allocations: 9 kB / 483.2 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.4706, allocations: 12.95 kB / 483.2 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.4721, allocations: 0.5269 MB / 483.7 MB, free: 29.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.4729, allocations: 214.3 kB / 483.9 MB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.4801, allocations: 5.017 MB / 488.9 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4812, allocations: 140.1 kB / 489.1 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4813, allocations: 52.69 kB / 489.1 MB, free: 25.64 MB / 382.1 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.0005176/0.4818, allocations: 278.3 kB / 489.4 MB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.482, allocations: 83.19 kB / 489.5 MB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.4849, allocations: 1.591 MB / 491.1 MB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.4849, allocations: 16.48 kB / 491.1 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.485, allocations: 3.266 kB / 491.1 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.485, allocations: 7.047 kB / 491.1 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.49, allocations: 2.907 MB / 494 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.49, allocations: 1.156 kB / 494 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.4906, allocations: 147.2 kB / 494.1 MB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4921, allocations: 0.5193 MB / 494.6 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.4922, allocations: 25.33 kB / 494.7 MB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007476/0.4997, allocations: 5.002 MB / 499.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4997, allocations: 0.5156 kB / 499.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.5034, allocations: 2.34 MB / 0.4902 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/0.504, allocations: 280.9 kB / 0.4905 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5041, allocations: 22.78 kB / 0.4905 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.5048, allocations: 52.55 kB / 0.4906 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.505, allocations: 111.2 kB / 0.4907 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.5051, allocations: 35 kB / 0.4907 GB, free: 18.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.5055, allocations: 317.4 kB / 0.491 GB, free: 18.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5055, allocations: 0 / 0.491 GB, free: 18.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001344/0.5068, allocations: 418.4 kB / 0.4914 GB, free: 18.02 MB / 382.1 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.003813/0.5107, allocations: 3.075 MB / 0.4944 GB, free: 16.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.5142, allocations: 1.879 MB / 0.4963 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5142, allocations: 2.531 kB / 0.4963 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.5164, allocations: 1.249 MB / 0.4975 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.517, allocations: 77.59 kB / 0.4976 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.527, allocations: 11.54 MB / 0.5088 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.5281, allocations: 1.103 MB / 0.5099 GB, free: 21.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.5287, allocations: 118.2 kB / 0.51 GB, free: 21.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.5291, allocations: 406.5 kB / 0.5104 GB, free: 20.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5291, allocations: 0 / 0.5104 GB, free: 20.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.5688, allocations: 24.01 MB / 0.5339 GB, free: 15.92 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.569, allocations: 219.7 kB / 0.5341 GB, free: 15.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.198, allocations: 0 / 0.5341 GB, free: 15.68 MB / 414.1 MB (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) Environment - environmentSimulation: 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