Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 46.94 MB / 360.9 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 66.04 MB / 0.5606 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01007/0.3403, allocations: 7.811 MB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.3454, allocations: 2.443 MB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.3464, allocations: 31.94 kB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.3508, allocations: 1.827 MB / 0.5725 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.3533, allocations: 0.7061 MB / 0.5732 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.356, allocations: 1.085 MB / 0.5742 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.3584, allocations: 1.417 MB / 0.5756 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.3603, allocations: 0.9339 MB / 0.5765 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3614, allocations: 0.6229 MB / 0.5771 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.3626, allocations: 0.7314 MB / 0.5778 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.363, allocations: 116 kB / 0.578 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.3639, allocations: 327.8 kB / 0.5783 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.3643, allocations: 302.9 kB / 0.5786 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009762/0.3653, allocations: 0.653 MB / 0.5792 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.3681, allocations: 1.774 MB / 0.5809 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3681, allocations: 3.938 kB / 0.5809 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3681, allocations: 0 / 0.5809 GB, free: 15.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-05/0.3682, allocations: 4 kB / 0.5809 GB, free: 15.61 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008125/0.3763, allocations: 2.334 MB / 0.5832 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3764, allocations: 12.02 kB / 0.5832 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003552/0.3767, allocations: 198.7 kB / 0.5834 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009776/0.3865, allocations: 1.327 MB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.388, allocations: 0.5528 MB / 0.5852 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.3881, allocations: 99.02 kB / 0.5853 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.3885, allocations: 140.1 kB / 0.5855 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/0.3917, allocations: 1.483 MB / 0.5869 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.3918, allocations: 7.953 kB / 0.5869 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.3919, allocations: 56 kB / 0.587 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.392, allocations: 36 kB / 0.587 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.395, allocations: 1.525 MB / 0.5885 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009044/0.404, allocations: 5.053 MB / 0.5934 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.4062, allocations: 1.076 MB / 0.5945 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.4072, allocations: 0.546 MB / 0.595 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.4074, allocations: 48.94 kB / 0.5951 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.4074, allocations: 43.56 kB / 0.5951 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 2.936e-06/0.4074, allocations: 0 / 0.5951 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009259/0.4167, allocations: 2.994 MB / 0.598 GB, free: 13.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.4168, allocations: 102 kB / 0.5981 GB, free: 13.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.4175, allocations: 469.9 kB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4176, allocations: 41.7 kB / 0.5986 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.418, allocations: 484.9 kB / 0.5991 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.4185, allocations: 444.1 kB / 0.5995 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.4189, allocations: 218.8 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4191, allocations: 382.8 kB / 0.6001 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.42, allocations: 458.4 kB / 0.6005 GB, free: 11.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4211, allocations: 0.7035 MB / 0.6012 GB, free: 10.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.4232, allocations: 1.198 MB / 0.6024 GB, free: 9.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4232, allocations: 4 kB / 0.6024 GB, free: 9.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003216/0.4264, allocations: 1.586 MB / 0.6039 GB, free: 7.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4264, allocations: 12.03 kB / 0.6039 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.4264, allocations: 8 kB / 0.604 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.4281, allocations: 0.524 MB / 0.6045 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.4289, allocations: 199.7 kB / 0.6047 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002137/0.4291, allocations: 57.08 kB / 0.6047 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.4299, allocations: 119.1 kB / 0.6048 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.43, allocations: 55.98 kB / 0.6049 GB, free: 6.477 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (112): * Single equations (assignments): 111 * 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.0005148/0.4305, allocations: 275.3 kB / 0.6051 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4307, allocations: 83.48 kB / 0.6052 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.4339, allocations: 1.54 MB / 0.6067 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.434, allocations: 19.92 kB / 0.6067 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.434, allocations: 0 / 0.6067 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.434, allocations: 7.984 kB / 0.6067 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.4395, allocations: 2.816 MB / 0.6095 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4395, allocations: 0 / 0.6095 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.4402, allocations: 147.8 kB / 0.6096 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4417, allocations: 0.5223 MB / 0.6101 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/0.4418, allocations: 27.98 kB / 0.6102 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003255/0.4422, allocations: 68.73 kB / 0.6102 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4422, allocations: 0 / 0.6102 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.4464, allocations: 2.325 MB / 0.6125 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.447, allocations: 203.1 kB / 0.6127 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.4472, allocations: 31.92 kB / 0.6127 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.4478, allocations: 43.98 kB / 0.6128 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.448, allocations: 85.14 kB / 0.6129 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/0.4481, allocations: 36.06 kB / 0.6129 GB, free: 14.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004485/0.4486, allocations: 310.9 kB / 0.6132 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4486, allocations: 0 / 0.6132 GB, free: 13.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001144/0.4497, allocations: 347.2 kB / 0.6135 GB, free: 13.5 MB / 462.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 (84): * Single equations (assignments): 83 * 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.004704/0.4544, allocations: 2.924 MB / 0.6164 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.4575, allocations: 1.276 MB / 0.6176 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4575, allocations: 0 / 0.6176 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.4592, allocations: 0.6853 MB / 0.6183 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.46, allocations: 108.5 kB / 0.6184 GB, free: 8.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.4741, allocations: 8.396 MB / 0.6266 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009306/0.475, allocations: 1.04 MB / 0.6276 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.4755, allocations: 106.8 kB / 0.6277 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.4761, allocations: 395.3 kB / 0.6281 GB, free: 14.24 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4761, allocations: 4 kB / 0.6281 GB, free: 14.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/0.5407, allocations: 23.26 MB / 0.6508 GB, free: 7.176 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.42, allocations: 17.81 kB / 0.6508 GB, free: 7.164 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.7722492441535]