Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0009812/0.0009812, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.0009334/0.0009334, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.969/0.969, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.333e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003521/0.003544, allocations: 3.681 MB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005365, allocations: 1.448 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005538, allocations: 8 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.006608, allocations: 0.7932 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006234/0.007231, allocations: 377.8 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.007855, allocations: 0.534 MB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.008225, allocations: 481.7 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.008661, allocations: 350 kB / 280.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.008968, allocations: 299.3 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.009173, allocations: 215.4 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.009218, allocations: 40 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.009528, allocations: 199.7 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.009585, allocations: 115.5 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.009691, allocations: 159.6 kB / 281.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.01024, allocations: 0.4943 MB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01024, allocations: 4 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01024, allocations: 0 / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.01025, allocations: 0 / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001356/0.01161, allocations: 0.96 MB / 283 MB, free: 7.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01164, allocations: 11.98 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.0135, allocations: 0.5819 MB / 283.6 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.01379, allocations: 247.9 kB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.01381, allocations: 41.69 kB / 283.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.01387, allocations: 52.36 kB / 283.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.01442, allocations: 429.4 kB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.01444, allocations: 192 / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.01448, allocations: 24.12 kB / 284.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01449, allocations: 12 kB / 284.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.01494, allocations: 347.5 kB / 284.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.01671, allocations: 1.508 MB / 286.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.01762, allocations: 0.5972 MB / 286.8 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.01778, allocations: 125.1 kB / 287 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.1e-05/0.01784, allocations: 24.48 kB / 287 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01787, allocations: 45.88 kB / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.01787, allocations: 0 / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001033/0.0189, allocations: 0.551 MB / 287.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.01893, allocations: 59.84 kB / 287.6 MB, free: 2.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01906, allocations: 233.7 kB / 287.9 MB, free: 2.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01909, allocations: 29.7 kB / 287.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01919, allocations: 271.7 kB / 288.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.01928, allocations: 162.6 kB / 288.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.01937, allocations: 99.8 kB / 288.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01948, allocations: 0.504 MB / 288.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.0196, allocations: 92.94 kB / 289 MB, free: 1.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.01977, allocations: 182.9 kB / 289.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.02008, allocations: 303.3 kB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02008, allocations: 0 / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005247/0.02061, allocations: 432.7 kB / 289.9 MB, free: 88 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.02062, allocations: 8 kB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02063, allocations: 0 / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09928/0.1199, allocations: 98 kB / 290 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1202, allocations: 89.59 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1215, allocations: 2.32 MB / 292.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1216, allocations: 39.48 kB / 292.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1217, allocations: 20.88 kB / 292.5 MB, free: 19.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.1218, allocations: 185.5 kB / 292.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.1218, allocations: 40.22 kB / 292.7 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.1224, allocations: 431 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1224, allocations: 8.766 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1225, allocations: 2.016 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1225, allocations: 3.094 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.1234, allocations: 0.8983 MB / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1234, allocations: 1.188 kB / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1236, allocations: 73.22 kB / 294.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.1239, allocations: 95.48 kB / 294.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1239, allocations: 13.95 kB / 294.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009848/0.1249, allocations: 2.317 MB / 296.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1249, allocations: 5.656 kB / 296.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.1256, allocations: 0.629 MB / 297.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.1256, allocations: 27.95 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1256, allocations: 12.09 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1257, allocations: 14.2 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.1258, allocations: 38.66 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1258, allocations: 21 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.1259, allocations: 156.4 kB / 297.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1259, allocations: 0 / 297.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.1263, allocations: 158.2 kB / 297.6 MB, free: 16.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.1265, allocations: 143.9 kB / 297.7 MB, free: 16.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.1271, allocations: 0.506 MB / 298.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1271, allocations: 3.969 kB / 298.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.1274, allocations: 380.5 kB / 298.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1277, allocations: 32.08 kB / 298.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1288, allocations: 0.7369 MB / 299.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.74e-05/0.1289, allocations: 111.7 kB / 299.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.129, allocations: 46.38 kB / 299.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.1291, allocations: 36.78 kB / 299.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1291, allocations: 0 / 299.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Templates: time 0.007472/0.1366, allocations: 4.752 MB / 304.3 MB, free: 15.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.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: 2.7807324551977217]