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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 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.2753/0.2753, allocations: 44.89 MB / 353.5 MB, free: 11.85 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002233/0.002233, allocations: 71.88 kB / 497.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4101, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01002/0.4202, allocations: 7.791 MB / 0.5564 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.4256, allocations: 2.392 MB / 0.5588 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008757/0.4265, allocations: 29.19 kB / 0.5588 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004449/0.431, allocations: 1.832 MB / 0.5606 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.4336, allocations: 0.8737 MB / 0.5614 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.4361, allocations: 0.8913 MB / 0.5623 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.4387, allocations: 1.405 MB / 0.5637 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.4404, allocations: 0.7749 MB / 0.5644 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.4416, allocations: 0.6189 MB / 0.565 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.443, allocations: 0.7237 MB / 0.5657 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.4432, allocations: 116 kB / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009342/0.4441, allocations: 323.8 kB / 0.5662 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.4444, allocations: 302.9 kB / 0.5664 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.4451, allocations: 0.6569 MB / 0.5671 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.4475, allocations: 1.765 MB / 0.5688 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4475, allocations: 0 / 0.5688 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4475, allocations: 0 / 0.5688 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.4476, allocations: 0 / 0.5688 GB, free: 10.89 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.007706/0.4553, allocations: 2.346 MB / 0.5711 GB, free: 8.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4553, allocations: 12.92 kB / 0.5711 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009622/0.4649, allocations: 1.397 MB / 0.5725 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.4663, allocations: 0.5528 MB / 0.573 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4664, allocations: 95.02 kB / 0.5731 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.4666, allocations: 136.3 kB / 0.5732 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.4696, allocations: 1.494 MB / 0.5747 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.4696, allocations: 0 / 0.5747 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.4697, allocations: 52 kB / 0.5748 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.4698, allocations: 36 kB / 0.5748 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.4726, allocations: 1.513 MB / 0.5763 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008376/0.481, allocations: 5.015 MB / 0.5812 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.483, allocations: 1.072 MB / 0.5822 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.484, allocations: 0.5533 MB / 0.5827 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.4841, allocations: 24.97 kB / 0.5828 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.4841, allocations: 47.56 kB / 0.5828 GB, free: 12.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.078e-06/0.4841, allocations: 0 / 0.5828 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008671/0.4928, allocations: 2.998 MB / 0.5857 GB, free: 9.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.4929, allocations: 94.09 kB / 0.5858 GB, free: 9.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.4935, allocations: 457.9 kB / 0.5863 GB, free: 8.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.4936, allocations: 49.7 kB / 0.5863 GB, free: 8.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.4939, allocations: 476.9 kB / 0.5868 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.4943, allocations: 444.1 kB / 0.5872 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.4947, allocations: 222.8 kB / 0.5874 GB, free: 7.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4949, allocations: 386.7 kB / 0.5878 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/0.4957, allocations: 454.4 kB / 0.5882 GB, free: 6.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.4968, allocations: 0.6958 MB / 0.5889 GB, free: 5.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.4988, allocations: 1.202 MB / 0.5901 GB, free: 4.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.4988, allocations: 4 kB / 0.5901 GB, free: 4.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002994/0.5018, allocations: 1.567 MB / 0.5916 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.5019, allocations: 8 kB / 0.5916 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5019, allocations: 8 kB / 0.5916 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.5035, allocations: 0.532 MB / 0.5921 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.5042, allocations: 191.7 kB / 0.5923 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001938/0.5044, allocations: 57.2 kB / 0.5924 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.5051, allocations: 127 kB / 0.5925 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.5052, allocations: 55.98 kB / 0.5925 GB, free: 1.973 MB / 430.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.0004953/0.5057, allocations: 261.6 kB / 0.5928 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5059, allocations: 83.48 kB / 0.5929 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.5088, allocations: 1.548 MB / 0.5944 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5088, allocations: 15.94 kB / 0.5944 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5088, allocations: 0 / 0.5944 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.5088, allocations: 11.97 kB / 0.5944 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.5136, allocations: 2.804 MB / 0.5972 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5136, allocations: 0 / 0.5972 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/0.5143, allocations: 147.7 kB / 0.5973 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.5157, allocations: 0.5145 MB / 0.5978 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.5158, allocations: 28 kB / 0.5978 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002979/0.5161, allocations: 76.66 kB / 0.5979 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5161, allocations: 0 / 0.5979 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.5202, allocations: 2.314 MB / 0.6002 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.5207, allocations: 215.1 kB / 0.6004 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5208, allocations: 23.94 kB / 0.6004 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.5214, allocations: 47.97 kB / 0.6004 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.5216, allocations: 81.09 kB / 0.6005 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.5217, allocations: 32 kB / 0.6005 GB, free: 9.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004267/0.5221, allocations: 314.9 kB / 0.6008 GB, free: 9.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5221, allocations: 4 kB / 0.6008 GB, free: 9.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5232, allocations: 343.2 kB / 0.6012 GB, free: 9.031 MB / 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.0003339/0.5235, allocations: 163.5 kB / 0.6013 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.5264, allocations: 1.264 MB / 0.6026 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5264, allocations: 0 / 0.6026 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.5281, allocations: 0.6852 MB / 0.6032 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/0.5288, allocations: 97.88 kB / 0.6033 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.5327, allocations: 2.063 MB / 0.6053 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.5335, allocations: 1.048 MB / 0.6064 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000492/0.534, allocations: 110.8 kB / 0.6065 GB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.5342, allocations: 63.42 kB / 0.6065 GB, free: 3.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5342, allocations: 0 / 0.6065 GB, free: 3.48 MB / 446.1 MB Notification: Performance of Templates: time 0.02784/0.562, allocations: 15.16 MB / 0.6213 GB, free: 4.391 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] 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.314920354634523]