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.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.0008105/0.0008105, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008823/0.0008823, allocations: 169.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8787/0.8787, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1311/0.1311, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.694e-05, allocations: 5.938 kB / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005711/0.005728, allocations: 6.79 MB / 413.6 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.009739, allocations: 2.259 MB / 415.9 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/0.0107, allocations: 27.94 kB / 415.9 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.01315, allocations: 1.792 MB / 417.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.01501, allocations: 0.7376 MB / 418.5 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.01658, allocations: 1.028 MB / 419.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.01841, allocations: 1.49 MB / 421 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.01979, allocations: 0.9301 MB / 421.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/0.02076, allocations: 0.8692 MB / 422.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.02138, allocations: 0.5765 MB / 423.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.02157, allocations: 116 kB / 423.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.02228, allocations: 319.6 kB / 423.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.02247, allocations: 314.7 kB / 424.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.02286, allocations: 462.8 kB / 424.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.02476, allocations: 1.818 MB / 426.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.02476, allocations: 0 / 426.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02477, allocations: 4 kB / 426.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.918e-05/0.02481, allocations: 4 kB / 426.4 MB, free: 9.902 MB / 362.7 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.004924/0.02973, allocations: 2.35 MB / 428.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.02978, allocations: 12.03 kB / 428.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.02998, allocations: 199 kB / 428.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.0352, allocations: 1.502 MB / 430.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.03682, allocations: 0.5677 MB / 431 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/0.03692, allocations: 103 kB / 431.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.03716, allocations: 128.4 kB / 431.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.04014, allocations: 1.636 MB / 432.8 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.04018, allocations: 7.938 kB / 432.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.04028, allocations: 56 kB / 432.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.04031, allocations: 39.92 kB / 432.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.04258, allocations: 1.556 MB / 434.5 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1759/0.2185, allocations: 4.478 MB / 439 MB, free: 36.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2198, allocations: 1.096 MB / 440.1 MB, free: 35.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.2205, allocations: 0.5573 MB / 440.6 MB, free: 35.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.2206, allocations: 26.92 kB / 440.7 MB, free: 35.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2206, allocations: 47.41 kB / 440.7 MB, free: 35.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 3.958e-06/0.2206, allocations: 2.094 kB / 440.7 MB, free: 35.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.005778/0.2264, allocations: 3.065 MB / 443.8 MB, free: 34.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2264, allocations: 94.36 kB / 443.9 MB, free: 34.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.2269, allocations: 497.1 kB / 444.4 MB, free: 34.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.227, allocations: 47.2 kB / 444.4 MB, free: 34.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.2272, allocations: 0.4922 MB / 444.9 MB, free: 34.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.2274, allocations: 446 kB / 445.3 MB, free: 33.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.2277, allocations: 226.5 kB / 445.6 MB, free: 33.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.2277, allocations: 383.8 kB / 445.9 MB, free: 33.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.2284, allocations: 462.9 kB / 446.4 MB, free: 33.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/0.2291, allocations: 0.7451 MB / 447.1 MB, free: 32.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.2305, allocations: 1.263 MB / 448.4 MB, free: 31.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.2305, allocations: 2.438 kB / 448.4 MB, free: 31.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002233/0.2328, allocations: 1.645 MB / 450 MB, free: 31.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.2328, allocations: 10.77 kB / 450 MB, free: 31.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.2328, allocations: 9 kB / 450.1 MB, free: 31.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.2339, allocations: 0.5244 MB / 450.6 MB, free: 30.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.2344, allocations: 214.9 kB / 450.8 MB, free: 30.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/0.2345, allocations: 64.86 kB / 450.8 MB, free: 30.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.235, allocations: 133.4 kB / 451 MB, free: 30.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.2351, allocations: 54.72 kB / 451 MB, free: 30.81 MB / 362.7 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.0004031/0.2355, allocations: 276.7 kB / 451.3 MB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2356, allocations: 84.73 kB / 451.4 MB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.2374, allocations: 1.56 MB / 452.9 MB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.2374, allocations: 17.03 kB / 453 MB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2374, allocations: 0 / 453 MB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2374, allocations: 7.266 kB / 453 MB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.2405, allocations: 2.658 MB / 455.6 MB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2405, allocations: 1.156 kB / 455.6 MB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.2409, allocations: 153 kB / 455.8 MB, free: 28.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.2417, allocations: 0.5186 MB / 456.3 MB, free: 28.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.2418, allocations: 24.25 kB / 456.3 MB, free: 28.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-05/0.2418, allocations: 27.34 kB / 456.3 MB, free: 28.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2418, allocations: 5.312 kB / 456.4 MB, free: 28.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.2441, allocations: 2.276 MB / 458.6 MB, free: 27.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.2444, allocations: 213.7 kB / 458.8 MB, free: 26.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.2445, allocations: 23.72 kB / 458.9 MB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.2448, allocations: 46.58 kB / 458.9 MB, free: 26.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2449, allocations: 81.89 kB / 459 MB, free: 26.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.2449, allocations: 39.98 kB / 459 MB, free: 26.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.2451, allocations: 318.5 kB / 459.3 MB, free: 26.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2451, allocations: 0 / 459.3 MB, free: 26.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006929/0.2458, allocations: 354.6 kB / 459.7 MB, free: 26.66 MB / 362.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 (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.002316/0.2481, allocations: 2.884 MB / 462.6 MB, free: 24.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.2498, allocations: 1.304 MB / 463.9 MB, free: 23.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2498, allocations: 3.75 kB / 463.9 MB, free: 23.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008209/0.2507, allocations: 0.6741 MB / 464.5 MB, free: 23.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.2512, allocations: 104.6 kB / 464.7 MB, free: 23.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.259, allocations: 8.617 MB / 473.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2592, allocations: 463.3 kB / 473.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.2595, allocations: 123 kB / 473.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.2598, allocations: 400.3 kB / 474.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2598, allocations: 0 / 474.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.2959, allocations: 21.68 MB / 495.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.337, allocations: 0 / 495.9 MB, free: 7.504 MB / 378.7 MB " [Timeout remaining time 652] (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 --stepSize=0.00019976 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.493110250681639]