Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001971/0.001971, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002434/0.002434, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2675/0.2675, allocations: 46.93 MB / 361.6 MB, free: 4.293 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 79.86 kB / 0.4975 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3317, allocations: 66.07 MB / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01062/0.3424, allocations: 7.801 MB / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005624/0.348, allocations: 2.446 MB / 0.572 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008592/0.3488, allocations: 31.88 kB / 0.572 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.3533, allocations: 1.827 MB / 0.5738 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.3558, allocations: 0.7176 MB / 0.5745 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.3584, allocations: 1.077 MB / 0.5756 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.3606, allocations: 1.42 MB / 0.5769 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.3622, allocations: 0.9379 MB / 0.5779 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008859/0.3631, allocations: 0.619 MB / 0.5785 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000917/0.364, allocations: 0.7276 MB / 0.5792 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.3642, allocations: 115.9 kB / 0.5793 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.3649, allocations: 335.8 kB / 0.5796 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.3652, allocations: 298.9 kB / 0.5799 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.3659, allocations: 0.653 MB / 0.5805 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.3684, allocations: 1.769 MB / 0.5823 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3684, allocations: 0 / 0.5823 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3684, allocations: 0 / 0.5823 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.3684, allocations: 0 / 0.5823 GB, free: 15.41 MB / 430.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.007902/0.3763, allocations: 2.342 MB / 0.5845 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3763, allocations: 12.03 kB / 0.5846 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.3861, allocations: 1.339 MB / 0.5859 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.3875, allocations: 0.5567 MB / 0.5864 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.3876, allocations: 95.02 kB / 0.5865 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.3879, allocations: 128.4 kB / 0.5866 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.3908, allocations: 1.498 MB / 0.5881 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.3908, allocations: 11.94 kB / 0.5881 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.3909, allocations: 56 kB / 0.5882 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.391, allocations: 32 kB / 0.5882 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.3938, allocations: 1.521 MB / 0.5897 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/0.4025, allocations: 5.045 MB / 0.5946 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.4047, allocations: 1.088 MB / 0.5957 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4057, allocations: 0.5538 MB / 0.5962 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.4058, allocations: 32.95 kB / 0.5962 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.4059, allocations: 51.56 kB / 0.5963 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.357e-06/0.4059, allocations: 0 / 0.5963 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009224/0.4151, allocations: 3.002 MB / 0.5992 GB, free: 13.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.4152, allocations: 90.11 kB / 0.5993 GB, free: 13.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.4159, allocations: 465.9 kB / 0.5997 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.938e-05/0.416, allocations: 49.64 kB / 0.5998 GB, free: 13.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.4164, allocations: 480.9 kB / 0.6002 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.4168, allocations: 448.2 kB / 0.6007 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.4172, allocations: 218.8 kB / 0.6009 GB, free: 11.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.4174, allocations: 386.7 kB / 0.6012 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/0.4183, allocations: 454.4 kB / 0.6017 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.4195, allocations: 0.6919 MB / 0.6024 GB, free: 10.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4216, allocations: 1.209 MB / 0.6035 GB, free: 9.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.4216, allocations: 4 kB / 0.6035 GB, free: 9.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003229/0.4248, allocations: 1.582 MB / 0.6051 GB, free: 7.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4249, allocations: 8 kB / 0.6051 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.4249, allocations: 4 kB / 0.6051 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.4266, allocations: 0.5243 MB / 0.6056 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.4274, allocations: 199.7 kB / 0.6058 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/0.4276, allocations: 53.2 kB / 0.6059 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.4284, allocations: 131 kB / 0.606 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.4285, allocations: 47.98 kB / 0.606 GB, free: 6.465 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.000534/0.429, allocations: 269 kB / 0.6063 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.4292, allocations: 83.48 kB / 0.6064 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.4323, allocations: 1.552 MB / 0.6079 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.4323, allocations: 15.94 kB / 0.6079 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4323, allocations: 0 / 0.6079 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.4324, allocations: 7.969 kB / 0.6079 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/0.4374, allocations: 2.82 MB / 0.6107 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.4374, allocations: 0 / 0.6107 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.4381, allocations: 143.8 kB / 0.6108 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.4396, allocations: 0.5222 MB / 0.6113 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.4397, allocations: 28 kB / 0.6113 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002937/0.44, allocations: 68.73 kB / 0.6114 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.44, allocations: 8 kB / 0.6114 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.4443, allocations: 2.318 MB / 0.6137 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.4448, allocations: 207 kB / 0.6139 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4449, allocations: 28 kB / 0.6139 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.4455, allocations: 47.97 kB / 0.6139 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4456, allocations: 77.16 kB / 0.614 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.4457, allocations: 39.98 kB / 0.614 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003956/0.4461, allocations: 306.9 kB / 0.6143 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4461, allocations: 0 / 0.6143 GB, free: 13.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009741/0.4471, allocations: 355.2 kB / 0.6147 GB, free: 13.49 MB / 462.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.0002997/0.4474, allocations: 167 kB / 0.6148 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.4504, allocations: 1.276 MB / 0.6161 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4504, allocations: 0 / 0.6161 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.4522, allocations: 0.6852 MB / 0.6167 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.4529, allocations: 97.89 kB / 0.6168 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.4566, allocations: 2.089 MB / 0.6189 GB, free: 9.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.4573, allocations: 1.044 MB / 0.6199 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004565/0.4577, allocations: 110.8 kB / 0.62 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4579, allocations: 67.42 kB / 0.6201 GB, free: 7.898 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4579, allocations: 0 / 0.6201 GB, free: 7.898 MB / 462.1 MB Notification: Performance of Templates: time 0.02774/0.4857, allocations: 15.3 MB / 0.635 GB, free: 8.66 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.053555324673653]