Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 83.67 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 164.2 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9395/0.9395, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.263/0.263, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 378.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.248e-05, allocations: 3.719 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006126/0.006148, allocations: 7.498 MB / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.009629, allocations: 2.345 MB / 388.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.01008, allocations: 39.88 kB / 388.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.01211, allocations: 1.909 MB / 390.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01322, allocations: 0.722 MB / 391.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.01446, allocations: 1.048 MB / 392.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.01553, allocations: 1.451 MB / 393.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.0165, allocations: 0.9222 MB / 394.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.01721, allocations: 0.8575 MB / 395.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/0.01769, allocations: 0.5726 MB / 396.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.01781, allocations: 112 kB / 396.2 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.01834, allocations: 323.6 kB / 396.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.0185, allocations: 302.8 kB / 396.8 MB, free: 212 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.01884, allocations: 462.8 kB / 397.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.02004, allocations: 1.234 MB / 398.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02005, allocations: 4 kB / 398.5 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02005, allocations: 4 kB / 398.5 MB, free: 14.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.02006, allocations: 0 / 398.5 MB, free: 14.51 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.004593/0.02465, allocations: 2.455 MB / 401 MB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.0247, allocations: 12.03 kB / 401 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.03079, allocations: 1.658 MB / 402.7 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.03158, allocations: 0.5588 MB / 403.2 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.03165, allocations: 99.02 kB / 403.3 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.0318, allocations: 140.3 kB / 403.4 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.03338, allocations: 1.258 MB / 404.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.03341, allocations: 4.188 kB / 404.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.0335, allocations: 63.88 kB / 404.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.03352, allocations: 32 kB / 404.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.03479, allocations: 0.8769 MB / 405.7 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.03961, allocations: 4.337 MB / 410 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.04076, allocations: 0.9718 MB / 411 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.04122, allocations: 381.1 kB / 411.4 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.04133, allocations: 36.97 kB / 411.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.04137, allocations: 62.31 kB / 411.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/0.04137, allocations: 0 / 411.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004841/0.04621, allocations: 2.446 MB / 413.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.04625, allocations: 94.14 kB / 414 MB, free: 14.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.04661, allocations: 466.4 kB / 414.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.04667, allocations: 49.7 kB / 414.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.04692, allocations: 0.5114 MB / 415 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.04717, allocations: 444.2 kB / 415.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.0474, allocations: 232.5 kB / 415.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.04757, allocations: 0.5586 MB / 416.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.04794, allocations: 254.5 kB / 416.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.04848, allocations: 0.5939 MB / 417.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/0.04944, allocations: 0.9161 MB / 418 MB, free: 10.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.04944, allocations: 4 kB / 418 MB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001524/0.05097, allocations: 1.183 MB / 419.2 MB, free: 9.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.05099, allocations: 11.94 kB / 419.2 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.051, allocations: 8 kB / 419.2 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008489/0.05185, allocations: 429 kB / 419.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.05227, allocations: 203.7 kB / 419.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001091/0.05238, allocations: 52.16 kB / 419.9 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.05272, allocations: 115.1 kB / 420 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.05278, allocations: 55.98 kB / 420 MB, free: 8.312 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.0002395/0.05302, allocations: 232.2 kB / 420.3 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.05316, allocations: 115.5 kB / 420.4 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.05461, allocations: 1.127 MB / 421.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.05463, allocations: 15.94 kB / 421.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.05463, allocations: 8 kB / 421.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.05464, allocations: 7.969 kB / 421.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.05716, allocations: 2.064 MB / 423.6 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.05717, allocations: 0 / 423.6 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.0575, allocations: 143.8 kB / 423.7 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.05827, allocations: 422.6 kB / 424.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.05832, allocations: 27.98 kB / 424.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001559/0.05847, allocations: 71.62 kB / 424.2 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.05848, allocations: 4 kB / 424.2 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.06042, allocations: 1.652 MB / 425.9 MB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.0607, allocations: 207.1 kB / 426.1 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.06077, allocations: 20 kB / 426.1 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.06105, allocations: 39.98 kB / 426.2 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.06118, allocations: 85.16 kB / 426.2 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.06122, allocations: 39.97 kB / 426.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.06141, allocations: 295 kB / 426.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06141, allocations: 0 / 426.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006523/0.06206, allocations: 355.2 kB / 426.9 MB, free: 1.309 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.0002428/0.0623, allocations: 159 kB / 427.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.06375, allocations: 0.9707 MB / 428 MB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.06375, allocations: 4 kB / 428 MB, free: 172 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008593/0.06461, allocations: 0.5597 MB / 428.6 MB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.06509, allocations: 121.9 kB / 428.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.06779, allocations: 1.913 MB / 430.6 MB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.06793, allocations: 199.2 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.06822, allocations: 106.4 kB / 430.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.06835, allocations: 64.48 kB / 431 MB, free: 13.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.06835, allocations: 0 / 431 MB, free: 13.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01552/0.08387, allocations: 12.32 MB / 443.3 MB, free: 0.9492 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.4908470229711384]