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.000966/0.000966, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001092/0.001092, allocations: 168.7 kB / 24.99 MB, free: 9.262 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2872/0.2872, allocations: 34.25 MB / 296 MB, free: 0.7695 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.125e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009774/0.009805, allocations: 7.498 MB / 385.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004743/0.01455, allocations: 2.349 MB / 387.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.01517, allocations: 35.88 kB / 387.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.01729, allocations: 1.909 MB / 389.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.0184, allocations: 0.722 MB / 390.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01963, allocations: 1.04 MB / 391.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.02067, allocations: 1.463 MB / 393 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009254/0.02159, allocations: 0.9183 MB / 394 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.02225, allocations: 0.8653 MB / 394.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.0227, allocations: 0.5649 MB / 395.4 MB, free: 1.527 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.02282, allocations: 112 kB / 395.5 MB, free: 1.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.02325, allocations: 327.6 kB / 395.8 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.02341, allocations: 306.8 kB / 396.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.02371, allocations: 458.8 kB / 396.6 MB, free: 356 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.02476, allocations: 1.237 MB / 397.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02477, allocations: 0 / 397.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02477, allocations: 0 / 397.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.02478, allocations: 0 / 397.8 MB, free: 15.11 MB / 378.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.004241/0.02902, allocations: 2.458 MB / 400.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.02906, allocations: 12.03 kB / 400.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.03454, allocations: 1.654 MB / 401.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.03525, allocations: 0.5627 MB / 402.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.03531, allocations: 99 kB / 402.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.03546, allocations: 140.3 kB / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.03695, allocations: 1.262 MB / 404 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.03698, allocations: 192 / 404 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.03707, allocations: 59.94 kB / 404 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.03712, allocations: 36 kB / 404.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.03842, allocations: 0.873 MB / 404.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.0431, allocations: 4.345 MB / 409.3 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.04421, allocations: 0.9601 MB / 410.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.04469, allocations: 385.1 kB / 410.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.04478, allocations: 44.97 kB / 410.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.04481, allocations: 54.33 kB / 410.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.04481, allocations: 0 / 410.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.005014/0.04983, allocations: 2.45 MB / 413.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.04987, allocations: 90.11 kB / 413.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.0502, allocations: 466.4 kB / 413.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.05025, allocations: 45.7 kB / 413.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.05048, allocations: 0.5269 MB / 414.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.0507, allocations: 440.2 kB / 414.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.05093, allocations: 236.5 kB / 415 MB, free: 13.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.05108, allocations: 0.5547 MB / 415.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.05147, allocations: 250.5 kB / 415.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.05201, allocations: 0.59 MB / 416.3 MB, free: 12.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.053, allocations: 0.9161 MB / 417.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.05301, allocations: 8 kB / 417.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0018/0.05481, allocations: 1.179 MB / 418.4 MB, free: 9.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.05483, allocations: 8 kB / 418.5 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.05484, allocations: 8.406 kB / 418.5 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008793/0.05572, allocations: 428.9 kB / 418.9 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.05613, allocations: 199.7 kB / 419.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.05623, allocations: 64.14 kB / 419.1 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.05654, allocations: 115.1 kB / 419.2 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.0566, allocations: 47.98 kB / 419.3 MB, free: 8.906 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.0002279/0.05683, allocations: 232.2 kB / 419.5 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.05697, allocations: 115.5 kB / 419.6 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.0585, allocations: 1.131 MB / 420.8 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.05852, allocations: 19.98 kB / 420.8 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.05852, allocations: 0 / 420.8 MB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.05854, allocations: 7.922 kB / 420.8 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.06097, allocations: 2.08 MB / 422.9 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.06098, allocations: 4 kB / 422.9 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.0613, allocations: 135.8 kB / 423 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007383/0.06204, allocations: 422.7 kB / 423.4 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.06209, allocations: 28 kB / 423.5 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001491/0.06224, allocations: 71.62 kB / 423.5 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.06224, allocations: 3.984 kB / 423.5 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.06449, allocations: 1.652 MB / 425.2 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.06474, allocations: 207 kB / 425.4 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.06482, allocations: 24 kB / 425.4 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.06509, allocations: 43.98 kB / 425.4 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.06521, allocations: 81.14 kB / 425.5 MB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.06526, allocations: 36 kB / 425.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.06544, allocations: 287 kB / 425.8 MB, free: 2.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06544, allocations: 0 / 425.8 MB, free: 2.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000607/0.06605, allocations: 355.2 kB / 426.2 MB, free: 1.895 MB / 394.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.0002395/0.06629, allocations: 167 kB / 426.3 MB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.06771, allocations: 0.968 MB / 427.3 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.06771, allocations: 0 / 427.3 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.06854, allocations: 0.5624 MB / 427.9 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.06898, allocations: 109.9 kB / 428 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.07149, allocations: 1.913 MB / 429.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.07162, allocations: 199.2 kB / 430.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.07187, allocations: 106.4 kB / 430.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.072, allocations: 68.48 kB / 430.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.072, allocations: 0 / 430.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01502/0.08702, allocations: 12.33 MB / 442.6 MB, free: 1.566 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] 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","",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.8832121090963483]