Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001752/0.001752, allocations: 113 kB / 18.49 MB, free: 4.598 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.002219/0.002219, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1386, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01116/0.1497, allocations: 7.78 MB / 0.56 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.1556, allocations: 2.451 MB / 0.5624 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.1569, allocations: 35.81 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004719/0.1616, allocations: 1.812 MB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.1647, allocations: 0.7105 MB / 0.5649 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.1683, allocations: 1.082 MB / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003481/0.1718, allocations: 1.419 MB / 0.5674 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.1737, allocations: 0.7704 MB / 0.5681 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1749, allocations: 0.6228 MB / 0.5687 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1761, allocations: 0.7237 MB / 0.5694 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004771/0.1766, allocations: 116 kB / 0.5695 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1779, allocations: 335.8 kB / 0.5699 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.1784, allocations: 302.8 kB / 0.5702 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1797, allocations: 0.653 MB / 0.5708 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.183, allocations: 1.766 MB / 0.5725 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.183, allocations: 0 / 0.5725 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.183, allocations: 4 kB / 0.5725 GB, free: 5.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.187e-05/0.1831, allocations: 0 / 0.5725 GB, free: 5.465 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.008799/0.1919, allocations: 2.41 MB / 0.5749 GB, free: 3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1919, allocations: 8.031 kB / 0.5749 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.986e-05/0.192, allocations: 42.83 kB / 0.5749 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000303/0.1923, allocations: 194.7 kB / 0.5751 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.2025, allocations: 1.335 MB / 0.5764 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.2038, allocations: 0.6287 MB / 0.577 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/0.2039, allocations: 99.02 kB / 0.5771 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.2041, allocations: 127.9 kB / 0.5772 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.2069, allocations: 1.491 MB / 0.5787 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.2069, allocations: 7.953 kB / 0.5787 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.2071, allocations: 56 kB / 0.5788 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.2071, allocations: 32 kB / 0.5788 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.2099, allocations: 1.525 MB / 0.5803 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009059/0.219, allocations: 5.612 MB / 0.5858 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.2219, allocations: 2.053 MB / 0.5878 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.2231, allocations: 0.5421 MB / 0.5883 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/0.2233, allocations: 191.2 kB / 0.5885 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.2233, allocations: 47.55 kB / 0.5885 GB, free: 4.293 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.447e-06/0.2233, allocations: 7.938 kB / 0.5885 GB, free: 4.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009692/0.233, allocations: 3.083 MB / 0.5915 GB, free: 1.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.2331, allocations: 94.05 kB / 0.5916 GB, free: 1.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.2337, allocations: 469.9 kB / 0.5921 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.832e-05/0.2338, allocations: 45.7 kB / 0.5921 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.2342, allocations: 472.9 kB / 0.5926 GB, free: 72 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.293/0.5272, allocations: 437.7 kB / 0.593 GB, free: 38.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.5278, allocations: 223.3 kB / 0.5932 GB, free: 38.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.528, allocations: 379.5 kB / 0.5936 GB, free: 37.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.529, allocations: 461.2 kB / 0.594 GB, free: 37.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.5302, allocations: 0.6946 MB / 0.5947 GB, free: 37.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.532, allocations: 1.203 MB / 0.5959 GB, free: 37.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.5321, allocations: 2.75 kB / 0.5959 GB, free: 37.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003386/0.5354, allocations: 1.577 MB / 0.5974 GB, free: 36.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.5355, allocations: 8.172 kB / 0.5974 GB, free: 36.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5355, allocations: 7.219 kB / 0.5974 GB, free: 36.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.5374, allocations: 0.528 MB / 0.5979 GB, free: 36.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.5384, allocations: 198.4 kB / 0.5981 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002196/0.5386, allocations: 50.73 kB / 0.5982 GB, free: 36.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008251/0.5394, allocations: 123.3 kB / 0.5983 GB, free: 36.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.5395, allocations: 55.69 kB / 0.5983 GB, free: 36.38 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.0005731/0.5401, allocations: 264.8 kB / 0.5986 GB, free: 36.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.5403, allocations: 93.17 kB / 0.5987 GB, free: 36.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.5439, allocations: 1.545 MB / 0.6002 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.5439, allocations: 13.02 kB / 0.6002 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5439, allocations: 0.7812 kB / 0.6002 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5439, allocations: 7.062 kB / 0.6002 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.549, allocations: 2.844 MB / 0.603 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.549, allocations: 0 / 0.603 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.5497, allocations: 152.8 kB / 0.6031 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.5513, allocations: 0.5225 MB / 0.6036 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.5514, allocations: 26.67 kB / 0.6037 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/0.5518, allocations: 65.52 kB / 0.6037 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5518, allocations: 1.344 kB / 0.6037 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.5563, allocations: 2.312 MB / 0.606 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.5568, allocations: 301.8 kB / 0.6063 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.557, allocations: 21.31 kB / 0.6063 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.5576, allocations: 44.25 kB / 0.6063 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.5578, allocations: 76.08 kB / 0.6064 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.5579, allocations: 39.75 kB / 0.6064 GB, free: 32.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005133/0.5584, allocations: 309.3 kB / 0.6067 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5584, allocations: 6 kB / 0.6067 GB, free: 32.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00149/0.5599, allocations: 344.6 kB / 0.6071 GB, free: 32.16 MB / 446.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.004476/0.5644, allocations: 2.927 MB / 0.6099 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.5679, allocations: 1.271 MB / 0.6112 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5679, allocations: 1.094 kB / 0.6112 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.5697, allocations: 0.6856 MB / 0.6118 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5708, allocations: 101.8 kB / 0.6119 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.5854, allocations: 8.379 MB / 0.6201 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.586, allocations: 1.046 MB / 0.6211 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.5865, allocations: 115 kB / 0.6213 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.5869, allocations: 394 kB / 0.6216 GB, free: 23.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5869, allocations: 0 / 0.6216 GB, free: 23.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.6325, allocations: 22.15 MB / 0.6433 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.23, allocations: 8.828 kB / 0.6433 GB, free: 5.355 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 18.12762347597163]