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.001201/0.001201, allocations: 110.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1923/0.1923, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001934/0.001934, allocations: 71.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.1, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008609/0.1087, allocations: 7.725 MB / 0.4949 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004024/0.1127, allocations: 2.361 MB / 0.4973 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.1131, allocations: 24 kB / 0.4973 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.1168, allocations: 1.812 MB / 0.499 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.1186, allocations: 0.8973 MB / 0.4999 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1205, allocations: 0.8882 MB / 0.5008 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.122, allocations: 1.436 MB / 0.5022 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1233, allocations: 1.009 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.124, allocations: 0.6111 MB / 0.5038 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.1249, allocations: 0.747 MB / 0.5045 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.125, allocations: 116 kB / 0.5046 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.1257, allocations: 327.8 kB / 0.5049 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.1259, allocations: 314.8 kB / 0.5052 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.1265, allocations: 0.6647 MB / 0.5059 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.1285, allocations: 1.774 MB / 0.5076 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1285, allocations: 0 / 0.5076 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1285, allocations: 0 / 0.5076 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1285, allocations: 0 / 0.5076 GB, free: 7.512 MB / 398.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.007037/0.1356, allocations: 2.444 MB / 0.51 GB, free: 5.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1356, allocations: 15.89 kB / 0.51 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.1358, allocations: 202.9 kB / 0.5102 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.1462, allocations: 1.499 MB / 0.5117 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.1472, allocations: 0.6289 MB / 0.5123 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.921e-05/0.1473, allocations: 99.09 kB / 0.5124 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.1475, allocations: 140.1 kB / 0.5125 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.15, allocations: 1.527 MB / 0.514 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.15, allocations: 3.953 kB / 0.514 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.1502, allocations: 56 kB / 0.5141 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.1502, allocations: 39.98 kB / 0.5141 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.1529, allocations: 1.576 MB / 0.5156 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007548/0.1605, allocations: 5.528 MB / 0.521 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.1631, allocations: 2.366 MB / 0.5233 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1641, allocations: 0.6567 MB / 0.524 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.1643, allocations: 106.1 kB / 0.5241 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1643, allocations: 47.56 kB / 0.5241 GB, free: 5.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.715e-06/0.1643, allocations: 0 / 0.5241 GB, free: 5.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009277/0.1736, allocations: 3.168 MB / 0.5272 GB, free: 2.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.1737, allocations: 102.1 kB / 0.5273 GB, free: 2.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.1743, allocations: 485.9 kB / 0.5278 GB, free: 2.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.1743, allocations: 45.7 kB / 0.5278 GB, free: 1.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.1747, allocations: 0.4891 MB / 0.5283 GB, free: 1.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.175, allocations: 452.1 kB / 0.5287 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.1754, allocations: 230.8 kB / 0.529 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1756, allocations: 382.8 kB / 0.5293 GB, free: 448 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1973/0.3729, allocations: 463.2 kB / 0.5298 GB, free: 38.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.3745, allocations: 0.7401 MB / 0.5305 GB, free: 38.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.3765, allocations: 1.261 MB / 0.5317 GB, free: 38.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.3765, allocations: 2.531 kB / 0.5317 GB, free: 38.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003157/0.3797, allocations: 1.675 MB / 0.5334 GB, free: 37.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3797, allocations: 8.484 kB / 0.5334 GB, free: 37.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.3798, allocations: 8.031 kB / 0.5334 GB, free: 37.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.3813, allocations: 0.5264 MB / 0.5339 GB, free: 37.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.3822, allocations: 216.3 kB / 0.5341 GB, free: 37.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002223/0.3824, allocations: 58.28 kB / 0.5341 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.3832, allocations: 132.6 kB / 0.5343 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3833, allocations: 54.92 kB / 0.5343 GB, free: 37.84 MB / 414.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 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.3838, allocations: 275.2 kB / 0.5346 GB, free: 37.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.384, allocations: 87.72 kB / 0.5347 GB, free: 37.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.3868, allocations: 1.583 MB / 0.5362 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.3868, allocations: 13.23 kB / 0.5362 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3868, allocations: 5.969 kB / 0.5362 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.3869, allocations: 7.188 kB / 0.5362 GB, free: 37.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.3913, allocations: 2.887 MB / 0.5391 GB, free: 35.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3913, allocations: 1.953 kB / 0.5391 GB, free: 35.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.3919, allocations: 148.3 kB / 0.5392 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.3933, allocations: 0.5216 MB / 0.5397 GB, free: 35.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.3934, allocations: 28.53 kB / 0.5397 GB, free: 35.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.357e-05/0.3935, allocations: 26.08 kB / 0.5398 GB, free: 35.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3935, allocations: 3.391 kB / 0.5398 GB, free: 35.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.3972, allocations: 2.3 MB / 0.542 GB, free: 34.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.3975, allocations: 289.5 kB / 0.5423 GB, free: 34.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3977, allocations: 28.52 kB / 0.5423 GB, free: 34.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.3983, allocations: 48.16 kB / 0.5424 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3984, allocations: 80.38 kB / 0.5424 GB, free: 34.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.3985, allocations: 34.8 kB / 0.5425 GB, free: 34.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003461/0.3989, allocations: 320.3 kB / 0.5428 GB, free: 34.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3989, allocations: 0 / 0.5428 GB, free: 34.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.3998, allocations: 348.4 kB / 0.5431 GB, free: 33.96 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003708/0.4035, allocations: 2.914 MB / 0.546 GB, free: 32.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.4063, allocations: 1.391 MB / 0.5473 GB, free: 31.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4063, allocations: 0 / 0.5473 GB, free: 31.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.4079, allocations: 0.7655 MB / 0.5481 GB, free: 31.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.4085, allocations: 110.8 kB / 0.5482 GB, free: 31.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.419, allocations: 8.673 MB / 0.5566 GB, free: 26.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4194, allocations: 1.057 MB / 0.5577 GB, free: 25.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.4199, allocations: 110.8 kB / 0.5578 GB, free: 25.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.4202, allocations: 393.3 kB / 0.5582 GB, free: 25.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4203, allocations: 0 / 0.5582 GB, free: 25.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.375/2.796, allocations: 22.09 MB / 0.5797 GB, free: 7.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/18.64, allocations: 15.94 kB / 0.5797 GB, free: 7.566 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/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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches