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.001973/0.001973, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002187/0.002187, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.4112/0.4112, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.054e-05, allocations: 2.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01154/0.01157, allocations: 7.457 MB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005982/0.01755, allocations: 2.341 MB / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.01901, allocations: 31.94 kB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005224/0.02423, allocations: 1.913 MB / 387 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.02716, allocations: 0.7181 MB / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.03023, allocations: 1.048 MB / 388.8 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.03306, allocations: 1.455 MB / 390.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.03551, allocations: 0.9261 MB / 391.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.03765, allocations: 0.8537 MB / 392 MB, free: 4.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.0389, allocations: 0.5726 MB / 392.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.03924, allocations: 115.9 kB / 392.7 MB, free: 3.469 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.04024, allocations: 323.6 kB / 393 MB, free: 3.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.04055, allocations: 306.8 kB / 393.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.04117, allocations: 458.8 kB / 393.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.04367, allocations: 1.818 MB / 395.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.04368, allocations: 0 / 395.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.459e-06/0.04368, allocations: 3.984 kB / 395.6 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.0437, allocations: 0 / 395.6 MB, free: 0.5742 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007836/0.05154, allocations: 2.537 MB / 398.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.05158, allocations: 11.97 kB / 398.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009934/0.06151, allocations: 1.647 MB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.063, allocations: 0.5743 MB / 400.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.06311, allocations: 95.02 kB / 400.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.06336, allocations: 136.3 kB / 400.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.06658, allocations: 1.636 MB / 402.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.06662, allocations: 3.75 kB / 402.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.06676, allocations: 56 kB / 402.3 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.06681, allocations: 36 kB / 402.3 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.06974, allocations: 1.451 MB / 403.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009444/0.07919, allocations: 4.935 MB / 408.7 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.08143, allocations: 1.104 MB / 409.8 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.08245, allocations: 0.5558 MB / 410.4 MB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.08262, allocations: 48.97 kB / 410.4 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.08267, allocations: 50.39 kB / 410.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.457e-06/0.08267, allocations: 0 / 410.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009871/0.09254, allocations: 3.016 MB / 413.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.09262, allocations: 90.11 kB / 413.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.09338, allocations: 0.5336 MB / 414.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.09347, allocations: 49.64 kB / 414.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000525/0.094, allocations: 0.5348 MB / 414.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/0.09466, allocations: 464.1 kB / 415.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/0.09519, allocations: 260.5 kB / 415.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00047/0.09566, allocations: 0.5859 MB / 416 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009267/0.09659, allocations: 438.5 kB / 416.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.09788, allocations: 0.7892 MB / 417.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.1002, allocations: 1.295 MB / 418.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1002, allocations: 0 / 418.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00343/0.1036, allocations: 1.608 MB / 420.1 MB, free: 7.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.1036, allocations: 8 kB / 420.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.1036, allocations: 8.406 kB / 420.1 MB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.1054, allocations: 0.536 MB / 420.6 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.1063, allocations: 199.7 kB / 420.8 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002199/0.1065, allocations: 64.09 kB / 420.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.1072, allocations: 119.1 kB / 421 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1073, allocations: 51.98 kB / 421.1 MB, free: 6.398 MB / 394.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.0005534/0.1079, allocations: 320.2 kB / 421.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.1081, allocations: 115.5 kB / 421.5 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.1113, allocations: 1.549 MB / 423 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.1114, allocations: 15.98 kB / 423.1 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1114, allocations: 0 / 423.1 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.1114, allocations: 11.92 kB / 423.1 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.1166, allocations: 2.701 MB / 425.8 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.1166, allocations: 0 / 425.8 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.1173, allocations: 143.8 kB / 425.9 MB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.1188, allocations: 0.5222 MB / 426.4 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.1189, allocations: 31.98 kB / 426.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003533/0.1193, allocations: 75.62 kB / 426.5 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1193, allocations: 3.938 kB / 426.5 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.1239, allocations: 2.386 MB / 428.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.1244, allocations: 207 kB / 429.1 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.1246, allocations: 20 kB / 429.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.1252, allocations: 44.02 kB / 429.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.1254, allocations: 93.02 kB / 429.3 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.1255, allocations: 32 kB / 429.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004305/0.1259, allocations: 339 kB / 429.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1259, allocations: 0 / 429.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001084/0.127, allocations: 351.2 kB / 430 MB, free: 13.36 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.0004073/0.1274, allocations: 170.4 kB / 430.1 MB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.1307, allocations: 1.324 MB / 431.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1307, allocations: 64 / 431.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.1325, allocations: 0.7381 MB / 432.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.1332, allocations: 113.9 kB / 432.3 MB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.1371, allocations: 2.091 MB / 434.4 MB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.1378, allocations: 462.3 kB / 434.9 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004457/0.1382, allocations: 102.5 kB / 435 MB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.1384, allocations: 64.47 kB / 435 MB, free: 8.215 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1384, allocations: 0 / 435 MB, free: 8.215 MB / 410.7 MB Notification: Performance of Templates: time 0.2336/0.372, allocations: 12.32 MB / 447.3 MB, free: 101.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] 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: 6.204055082984269]