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.001015/0.001015, allocations: 76.22 kB / 20.65 MB, free: 3.848 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.001127/0.001127, allocations: 177 kB / 24.06 MB, free: 452 kB / 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 1.108/1.108, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.1609/0.1609, allocations: 32.38 MB / 270.7 MB, free: 14.54 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.568e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008074/0.008109, allocations: 7.331 MB / 355.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.01235, allocations: 2.302 MB / 357.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.01278, allocations: 27.94 kB / 357.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.01562, allocations: 1.882 MB / 359.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.01715, allocations: 0.7375 MB / 360.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.01894, allocations: 1.028 MB / 361.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.02014, allocations: 1.494 MB / 362.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.02137, allocations: 0.9223 MB / 363.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000967/0.02233, allocations: 0.8692 MB / 364.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.02298, allocations: 0.596 MB / 365.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.02315, allocations: 115.9 kB / 365.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.02367, allocations: 315.6 kB / 365.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.02384, allocations: 314.8 kB / 366 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.02423, allocations: 470.8 kB / 366.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.02554, allocations: 1.234 MB / 367.7 MB, free: 5.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02554, allocations: 8 kB / 367.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02554, allocations: 0 / 367.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.02558, allocations: 0 / 367.7 MB, free: 5.457 MB / 298.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.004152/0.02973, allocations: 2.498 MB / 370.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.02977, allocations: 16.03 kB / 370.3 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.03497, allocations: 1.842 MB / 372.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.03567, allocations: 0.5639 MB / 372.7 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.03574, allocations: 99.09 kB / 372.8 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.03588, allocations: 140.4 kB / 372.9 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.03701, allocations: 1.177 MB / 374.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.03704, allocations: 4.188 kB / 374.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.03712, allocations: 59.94 kB / 374.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.03714, allocations: 32 kB / 374.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/0.03794, allocations: 0.7445 MB / 374.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.04237, allocations: 4.415 MB / 379.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.0433, allocations: 0.9255 MB / 380.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.04363, allocations: 321.8 kB / 380.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.04371, allocations: 40.97 kB / 380.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.04375, allocations: 54.33 kB / 380.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.795e-06/0.04375, allocations: 0 / 380.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.004353/0.0481, allocations: 2.332 MB / 383 MB, free: 5.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.04816, allocations: 98.05 kB / 383.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.04846, allocations: 474.1 kB / 383.5 MB, free: 5.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.04851, allocations: 49.7 kB / 383.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.04875, allocations: 0.5424 MB / 384.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.049, allocations: 460.1 kB / 384.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.04923, allocations: 240.4 kB / 384.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.04942, allocations: 0.5663 MB / 385.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.04966, allocations: 199.1 kB / 385.6 MB, free: 3.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.05009, allocations: 0.596 MB / 386.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.05086, allocations: 0.8763 MB / 387.1 MB, free: 1.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.05086, allocations: 4 kB / 387.1 MB, free: 1.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001343/0.05221, allocations: 1.11 MB / 388.2 MB, free: 280 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.05223, allocations: 12 kB / 388.2 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.05225, allocations: 8 kB / 388.2 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007858/0.05303, allocations: 413 kB / 388.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.05344, allocations: 211.7 kB / 388.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/0.05356, allocations: 60.08 kB / 388.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.05388, allocations: 127 kB / 389 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.05394, allocations: 47.98 kB / 389 MB, free: 15.41 MB / 330.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.0002342/0.05417, allocations: 236.2 kB / 389.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.05431, allocations: 123.5 kB / 389.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.05545, allocations: 1.018 MB / 390.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.05546, allocations: 16 kB / 390.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.05546, allocations: 3.938 kB / 390.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.05548, allocations: 7.969 kB / 390.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.05766, allocations: 1.857 MB / 392.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.05767, allocations: 0 / 392.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.05799, allocations: 139.8 kB / 392.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007233/0.05872, allocations: 398.7 kB / 392.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.05877, allocations: 31.98 kB / 392.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-05/0.05883, allocations: 31.66 kB / 392.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.05884, allocations: 4 kB / 392.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.06031, allocations: 1.41 MB / 394.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.06057, allocations: 207 kB / 394.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.06064, allocations: 28.03 kB / 394.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.06089, allocations: 47.97 kB / 394.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.061, allocations: 89.03 kB / 394.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.06105, allocations: 28 kB / 394.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.06122, allocations: 279 kB / 394.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06122, allocations: 3.938 kB / 395 MB, free: 9.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006889/0.06191, allocations: 359.2 kB / 395.3 MB, free: 9.031 MB / 330.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.0002373/0.06215, allocations: 167 kB / 395.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.06327, allocations: 0.8691 MB / 396.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.06327, allocations: 0 / 396.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.06393, allocations: 0.5043 MB / 396.8 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.06436, allocations: 125.8 kB / 397 MB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.0669, allocations: 1.883 MB / 398.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.06704, allocations: 207.2 kB / 399 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.06731, allocations: 106.8 kB / 399.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.06769, allocations: 210.1 kB / 399.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06769, allocations: 0 / 399.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of Templates: time 0.01734/0.08503, allocations: 13.14 MB / 412.5 MB, free: 7.836 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5753348828293383]