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.0007846/0.0007846, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001013/0.001013, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2363/0.2363, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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 1.413e-06/1.413e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.848e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1591/0.1592, allocations: 6.811 MB / 449 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1619, allocations: 2.3 MB / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.1622, allocations: 29.47 kB / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.1638, allocations: 1.789 MB / 453.1 MB, free: 38.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009309/0.1647, allocations: 0.7219 MB / 453.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1658, allocations: 1.03 MB / 454.9 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.1667, allocations: 1.459 MB / 456.3 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007932/0.1675, allocations: 0.9201 MB / 457.2 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006662/0.1682, allocations: 0.8607 MB / 458.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.1687, allocations: 0.5596 MB / 458.7 MB, free: 35.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1688, allocations: 113 kB / 458.8 MB, free: 35.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.1693, allocations: 331.6 kB / 459.1 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1694, allocations: 301.4 kB / 459.4 MB, free: 35.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.1696, allocations: 456 kB / 459.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1708, allocations: 1.805 MB / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1708, allocations: 4 kB / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1708, allocations: 0 / 461.6 MB, free: 34.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1708, allocations: 0 / 461.6 MB, free: 34.09 MB / 410.7 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.003864/0.1746, allocations: 2.329 MB / 464 MB, free: 33.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1747, allocations: 9.375 kB / 464 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.1748, allocations: 190.2 kB / 464.2 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.1792, allocations: 1.345 MB / 465.5 MB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.18, allocations: 0.5503 MB / 466.1 MB, free: 32.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.18, allocations: 106 kB / 466.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1802, allocations: 131.4 kB / 466.3 MB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.1816, allocations: 1.595 MB / 467.9 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.1816, allocations: 7.938 kB / 467.9 MB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.1817, allocations: 53.03 kB / 467.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.1817, allocations: 39.7 kB / 468 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1832, allocations: 1.502 MB / 469.5 MB, free: 30.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.1872, allocations: 4.449 MB / 473.9 MB, free: 28.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1883, allocations: 1.065 MB / 475 MB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.1888, allocations: 0.545 MB / 475.5 MB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-05/0.1889, allocations: 33.67 kB / 475.6 MB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1889, allocations: 53.5 kB / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.876e-06/0.1889, allocations: 0 / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004631/0.1935, allocations: 2.996 MB / 478.6 MB, free: 26.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1935, allocations: 90.55 kB / 478.7 MB, free: 26.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.1938, allocations: 477.7 kB / 479.2 MB, free: 26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.1939, allocations: 48.02 kB / 479.2 MB, free: 25.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.194, allocations: 475.4 kB / 479.7 MB, free: 25.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.1942, allocations: 441.4 kB / 480.1 MB, free: 25.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.1944, allocations: 227.2 kB / 480.3 MB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.1944, allocations: 382 kB / 480.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.1949, allocations: 460.5 kB / 481.2 MB, free: 24.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.1955, allocations: 0.6919 MB / 481.9 MB, free: 24.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.1967, allocations: 1.207 MB / 483.1 MB, free: 23.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1967, allocations: 1.844 kB / 483.1 MB, free: 23.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00174/0.1984, allocations: 1.579 MB / 484.6 MB, free: 22.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1985, allocations: 8.188 kB / 484.7 MB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1985, allocations: 8.781 kB / 484.7 MB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009064/0.1994, allocations: 0.5249 MB / 485.2 MB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.1998, allocations: 202.8 kB / 485.4 MB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001079/0.1999, allocations: 50.55 kB / 485.4 MB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2003, allocations: 128.2 kB / 485.6 MB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.2003, allocations: 46.34 kB / 485.6 MB, free: 22.38 MB / 410.7 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.0002988/0.2006, allocations: 271.2 kB / 485.9 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.2007, allocations: 94.5 kB / 486 MB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.2024, allocations: 1.539 MB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.2024, allocations: 16.97 kB / 487.5 MB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2024, allocations: 5.125 kB / 487.5 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.2024, allocations: 11.7 kB / 487.5 MB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.2051, allocations: 2.646 MB / 490.2 MB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.2051, allocations: 5.062 kB / 490.2 MB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2055, allocations: 141 kB / 490.3 MB, free: 20 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.2063, allocations: 0.5154 MB / 490.8 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.2063, allocations: 30.41 kB / 490.9 MB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001422/0.2065, allocations: 62.55 kB / 490.9 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2065, allocations: 1.594 kB / 490.9 MB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.2088, allocations: 2.326 MB / 493.3 MB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.2091, allocations: 212.2 kB / 493.5 MB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.2091, allocations: 23.23 kB / 493.5 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.2094, allocations: 41.84 kB / 493.5 MB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.2096, allocations: 85.83 kB / 493.6 MB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.2096, allocations: 34.59 kB / 493.6 MB, free: 18.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.2099, allocations: 309.7 kB / 493.9 MB, free: 18.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2099, allocations: 0 / 493.9 MB, free: 18.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.2106, allocations: 355.1 kB / 494.3 MB, free: 18.19 MB / 410.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 (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.002868/0.2134, allocations: 2.92 MB / 497.2 MB, free: 16.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.2155, allocations: 1.284 MB / 498.5 MB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2155, allocations: 1.125 kB / 498.5 MB, free: 16.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.2165, allocations: 0.6811 MB / 499.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2171, allocations: 94.86 kB / 499.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.2264, allocations: 8.398 MB / 0.4958 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2268, allocations: 454.8 kB / 0.4962 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.2272, allocations: 109.7 kB / 0.4963 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.2275, allocations: 394 kB / 0.4967 GB, free: 10.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2275, allocations: 1.5 kB / 0.4967 GB, free: 10.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.2644, allocations: 21.61 MB / 0.5178 GB, free: 8.254 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.444, allocations: 14.83 kB / 0.5178 GB, free: 8.242 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 10.587880020029843]