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.001369/0.001369, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001621/0.001621, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2476/0.2476, allocations: 46.97 MB / 361.6 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002025/0.002025, allocations: 67.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4416, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009238/0.4508, allocations: 6.805 MB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00534/0.4561, allocations: 2.294 MB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.4573, allocations: 35.94 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.4623, allocations: 1.683 MB / 0.5724 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.4659, allocations: 0.7026 MB / 0.5731 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.4697, allocations: 1.035 MB / 0.5741 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.473, allocations: 1.42 MB / 0.5755 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.4752, allocations: 0.9262 MB / 0.5764 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.4766, allocations: 0.6189 MB / 0.577 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.4776, allocations: 0.7276 MB / 0.5777 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.4778, allocations: 112 kB / 0.5778 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.4788, allocations: 335.8 kB / 0.5781 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.4791, allocations: 298.9 kB / 0.5784 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.4798, allocations: 0.5327 MB / 0.5789 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.4828, allocations: 1.782 MB / 0.5807 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4828, allocations: 0 / 0.5807 GB, free: 0.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4828, allocations: 4 kB / 0.5807 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.4828, allocations: 0 / 0.5807 GB, free: 0.8281 MB / 414.1 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.008208/0.491, allocations: 2.338 MB / 0.5829 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4911, allocations: 12.03 kB / 0.583 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00992/0.501, allocations: 1.339 MB / 0.5843 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.5027, allocations: 0.5605 MB / 0.5848 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5029, allocations: 98.95 kB / 0.5849 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.5031, allocations: 128.4 kB / 0.585 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.5063, allocations: 1.607 MB / 0.5866 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.5064, allocations: 3.953 kB / 0.5866 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.5065, allocations: 59.94 kB / 0.5867 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.5066, allocations: 32 kB / 0.5867 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.5097, allocations: 1.501 MB / 0.5882 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009359/0.5191, allocations: 4.278 MB / 0.5923 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.5212, allocations: 1.076 MB / 0.5934 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/0.5222, allocations: 0.546 MB / 0.5939 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.5223, allocations: 32.97 kB / 0.5939 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.5223, allocations: 47.56 kB / 0.594 GB, free: 2.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.409e-06/0.5223, allocations: 4 kB / 0.594 GB, free: 2.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008991/0.5313, allocations: 2.99 MB / 0.5969 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.5314, allocations: 98.14 kB / 0.597 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.532, allocations: 417.7 kB / 0.5974 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-05/0.532, allocations: 45.7 kB / 0.5975 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.5324, allocations: 492.7 kB / 0.5979 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.5328, allocations: 440.2 kB / 0.5983 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.5332, allocations: 218.8 kB / 0.5985 GB, free: 14.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.5334, allocations: 382.7 kB / 0.5989 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.5343, allocations: 458.4 kB / 0.5994 GB, free: 13.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5355, allocations: 0.6996 MB / 0.6 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.5375, allocations: 1.202 MB / 0.6012 GB, free: 11.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5375, allocations: 0 / 0.6012 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003298/0.5408, allocations: 1.574 MB / 0.6027 GB, free: 9.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5408, allocations: 8.438 kB / 0.6028 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5408, allocations: 12 kB / 0.6028 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.5425, allocations: 0.524 MB / 0.6033 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.5433, allocations: 207.6 kB / 0.6035 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.5435, allocations: 45.27 kB / 0.6035 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.5442, allocations: 115.2 kB / 0.6036 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.5443, allocations: 55.92 kB / 0.6037 GB, free: 8.691 MB / 446.1 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.0005307/0.5448, allocations: 272.5 kB / 0.6039 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.545, allocations: 87.42 kB / 0.604 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.5481, allocations: 1.532 MB / 0.6055 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.5481, allocations: 16 kB / 0.6055 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5481, allocations: 7.922 kB / 0.6055 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.5481, allocations: 15.91 kB / 0.6056 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.5527, allocations: 2.485 MB / 0.608 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5527, allocations: 4 kB / 0.608 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.5534, allocations: 143.8 kB / 0.6081 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.555, allocations: 0.5145 MB / 0.6086 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.5551, allocations: 27.98 kB / 0.6087 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/0.5554, allocations: 64.8 kB / 0.6087 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5554, allocations: 0 / 0.6087 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.5596, allocations: 2.325 MB / 0.611 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.5601, allocations: 199.1 kB / 0.6112 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5602, allocations: 24 kB / 0.6112 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.5608, allocations: 43.97 kB / 0.6112 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.561, allocations: 85.09 kB / 0.6113 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.5611, allocations: 32 kB / 0.6114 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.5614, allocations: 275.1 kB / 0.6116 GB, free: 480 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5614, allocations: 8.062 kB / 0.6116 GB, free: 472 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001042/0.5625, allocations: 347.2 kB / 0.612 GB, free: 124 kB / 446.1 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.0003525/0.5628, allocations: 167 kB / 0.6121 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.5658, allocations: 1.276 MB / 0.6134 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5658, allocations: 0 / 0.6134 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.5676, allocations: 0.6814 MB / 0.614 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.5682, allocations: 97.88 kB / 0.6141 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.572, allocations: 2.091 MB / 0.6162 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.5725, allocations: 458.3 kB / 0.6166 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004346/0.573, allocations: 102.4 kB / 0.6167 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.5731, allocations: 67.36 kB / 0.6168 GB, free: 11.11 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5731, allocations: 0 / 0.6168 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Templates: time 0.02476/0.5979, allocations: 13.92 MB / 0.6304 GB, free: 13.36 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.993248149999999]