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.0007971/0.0007971, 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.0009136/0.0009136, 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.9227/0.9227, allocations: 177.1 MB / 204.2 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2725/0.2725, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.083e-05, allocations: 4.109 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.187/0.187, allocations: 6.822 MB / 446.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.1908, allocations: 2.291 MB / 448.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.1914, allocations: 34.78 kB / 448.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.1933, allocations: 1.792 MB / 450.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1946, allocations: 0.7122 MB / 451.2 MB, free: 40.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.1963, allocations: 1.032 MB / 452.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.198, allocations: 1.457 MB / 453.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.1989, allocations: 0.9196 MB / 454.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.1997, allocations: 0.8528 MB / 455.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.2001, allocations: 0.5731 MB / 456.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2002, allocations: 111 kB / 456.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.2008, allocations: 326.2 kB / 456.5 MB, free: 38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2009, allocations: 304.1 kB / 456.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.2012, allocations: 456.5 kB / 457.2 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2024, allocations: 1.812 MB / 459 MB, free: 36.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2024, allocations: 0 / 459 MB, free: 36.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2024, allocations: 0 / 459 MB, free: 36.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2024, allocations: 0 / 459 MB, free: 36.85 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.00372/0.2061, allocations: 2.332 MB / 461.4 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2062, allocations: 12.59 kB / 461.4 MB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.2063, allocations: 190.5 kB / 461.6 MB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.2107, allocations: 1.337 MB / 462.9 MB, free: 35.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.2115, allocations: 0.5522 MB / 463.5 MB, free: 34.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.2115, allocations: 99.89 kB / 463.6 MB, free: 34.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.2117, allocations: 134 kB / 463.7 MB, free: 34.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2132, allocations: 1.591 MB / 465.3 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.2133, allocations: 11.94 kB / 465.3 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.2133, allocations: 53 kB / 465.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.2134, allocations: 31.84 kB / 465.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2149, allocations: 1.505 MB / 466.9 MB, free: 33.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.2194, allocations: 4.449 MB / 471.3 MB, free: 30.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2206, allocations: 1.074 MB / 472.4 MB, free: 30.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.2211, allocations: 0.5411 MB / 472.9 MB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2212, allocations: 37.58 kB / 473 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.2213, allocations: 50.12 kB / 473 MB, free: 30 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.248e-06/0.2213, allocations: 0 / 473 MB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004915/0.2262, allocations: 3.003 MB / 476 MB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2262, allocations: 94.17 kB / 476.1 MB, free: 29.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.2265, allocations: 474.6 kB / 476.6 MB, free: 28.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.2266, allocations: 51.83 kB / 476.6 MB, free: 28.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2267, allocations: 477.6 kB / 477.1 MB, free: 28.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.2269, allocations: 434.5 kB / 477.5 MB, free: 27.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2271, allocations: 225.7 kB / 477.8 MB, free: 27.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.2272, allocations: 384.2 kB / 478.1 MB, free: 27.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.2277, allocations: 460.1 kB / 478.6 MB, free: 27.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.2282, allocations: 0.6921 MB / 479.3 MB, free: 26.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2293, allocations: 1.2 MB / 480.5 MB, free: 26.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2293, allocations: 2.844 kB / 480.5 MB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001842/0.2312, allocations: 1.575 MB / 482.1 MB, free: 25.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2312, allocations: 7.406 kB / 482.1 MB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2312, allocations: 7.312 kB / 482.1 MB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009487/0.2322, allocations: 0.5316 MB / 482.6 MB, free: 25.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.2326, allocations: 197.6 kB / 482.8 MB, free: 25.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.2327, allocations: 57.2 kB / 482.8 MB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.2331, allocations: 120.7 kB / 483 MB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.2332, allocations: 49.83 kB / 483 MB, free: 25.15 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.0003471/0.2335, allocations: 273.7 kB / 483.3 MB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2336, allocations: 87.25 kB / 483.4 MB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.2354, allocations: 1.543 MB / 484.9 MB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.2354, allocations: 20.7 kB / 484.9 MB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2354, allocations: 0.8438 kB / 484.9 MB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2355, allocations: 15.92 kB / 484.9 MB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.2385, allocations: 2.641 MB / 487.6 MB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2385, allocations: 0 / 487.6 MB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.2388, allocations: 151.2 kB / 487.7 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008843/0.2397, allocations: 0.5195 MB / 488.3 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.2397, allocations: 24.84 kB / 488.3 MB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001467/0.2399, allocations: 66.19 kB / 488.3 MB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2399, allocations: 4.344 kB / 488.3 MB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.2426, allocations: 2.315 MB / 490.7 MB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2429, allocations: 215.3 kB / 490.9 MB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.243, allocations: 25.31 kB / 490.9 MB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.2433, allocations: 43.88 kB / 490.9 MB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2434, allocations: 85.19 kB / 491 MB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.2435, allocations: 36.19 kB / 491.1 MB, free: 21.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.2437, allocations: 309.3 kB / 491.4 MB, free: 21.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2437, allocations: 0 / 491.4 MB, free: 21.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007913/0.2445, allocations: 348.2 kB / 491.7 MB, free: 20.96 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.00296/0.2475, allocations: 2.929 MB / 494.6 MB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.2496, allocations: 1.28 MB / 495.9 MB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2496, allocations: 0.7812 kB / 495.9 MB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2507, allocations: 0.6818 MB / 496.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.2513, allocations: 98.92 kB / 496.7 MB, free: 18.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.2617, allocations: 8.382 MB / 0.4932 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2622, allocations: 457.5 kB / 0.4937 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003721/0.2626, allocations: 108.8 kB / 0.4938 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.2629, allocations: 395.2 kB / 0.4941 GB, free: 13.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.2629, allocations: 1.156 kB / 0.4941 GB, free: 13.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.2996, allocations: 21.62 MB / 0.5153 GB, free: 12.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.33, allocations: 4.062 kB / 0.5153 GB, free: 12.27 MB / 426.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 10.592892162501812]