Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001115/0.001115, allocations: 84.34 kB / 22.21 MB, free: 2.281 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.00121/0.00121, allocations: 163.6 kB / 25.61 MB, free: 8.578 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.943/0.943, allocations: 177 MB / 205.9 MB, free: 4.441 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 274.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.594e-05, allocations: 4.281 kB / 274.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003405/0.003421, allocations: 3.605 MB / 277.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004933, allocations: 1.443 MB / 279.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.005067, allocations: 10 kB / 279.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008987/0.005965, allocations: 0.7703 MB / 279.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.006478, allocations: 389.8 kB / 280.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.006998, allocations: 0.5125 MB / 280.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.007544, allocations: 489.7 kB / 281.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.007975, allocations: 418.1 kB / 281.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.008243, allocations: 311.3 kB / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.008427, allocations: 215.4 kB / 282.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.008469, allocations: 44 kB / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.008699, allocations: 207.7 kB / 282.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.008755, allocations: 115.5 kB / 282.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.008853, allocations: 159.6 kB / 282.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.00929, allocations: 0.506 MB / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.009292, allocations: 0 / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009293, allocations: 4 kB / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.009297, allocations: 0 / 283.3 MB, free: 11.2 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.001144/0.01044, allocations: 0.9679 MB / 284.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.01047, allocations: 11.97 kB / 284.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.01225, allocations: 0.5742 MB / 284.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.0125, allocations: 263.8 kB / 285.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.01253, allocations: 45.69 kB / 285.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.01258, allocations: 52.38 kB / 285.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.01297, allocations: 381.4 kB / 285.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.01299, allocations: 192 / 285.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.01302, allocations: 24.12 kB / 285.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01303, allocations: 16 kB / 285.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.01334, allocations: 274.2 kB / 285.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.01487, allocations: 1.509 MB / 287.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.01561, allocations: 0.541 MB / 287.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01577, allocations: 145 kB / 288 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.01583, allocations: 24.48 kB / 288.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.01585, allocations: 45.83 kB / 288.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.413e-06/0.01586, allocations: 0 / 288.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009835/0.01684, allocations: 468.2 kB / 288.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.01686, allocations: 59.91 kB / 288.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.01697, allocations: 219.5 kB / 288.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.01699, allocations: 33.7 kB / 288.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.01709, allocations: 279.6 kB / 289.1 MB, free: 5.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.01717, allocations: 170.5 kB / 289.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.01726, allocations: 87.81 kB / 289.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01737, allocations: 0.5117 MB / 289.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.01745, allocations: 64.94 kB / 290 MB, free: 4.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01758, allocations: 186.2 kB / 290.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.01781, allocations: 286.2 kB / 290.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01781, allocations: 0 / 290.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004275/0.01824, allocations: 384.8 kB / 290.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01825, allocations: 4 kB / 290.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01826, allocations: 4 kB / 290.8 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.0185, allocations: 99.72 kB / 290.9 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.0187, allocations: 91.89 kB / 291 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.01974, allocations: 1.967 MB / 293 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01986, allocations: 39.67 kB / 293 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.01987, allocations: 15.98 kB / 293 MB, free: 0.9844 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.01999, allocations: 184.5 kB / 293.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.02004, allocations: 39.8 kB / 293.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.0205, allocations: 388.1 kB / 293.6 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0205, allocations: 12 kB / 293.6 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0205, allocations: 0 / 293.6 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.02051, allocations: 3.984 kB / 293.6 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.02127, allocations: 0.8254 MB / 294.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02127, allocations: 4 kB / 294.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.02144, allocations: 83.83 kB / 294.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.02163, allocations: 87.67 kB / 294.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.02165, allocations: 11.98 kB / 294.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.02287, allocations: 1.956 MB / 296.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02287, allocations: 3.938 kB / 296.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.02338, allocations: 0.5872 MB / 297.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.0234, allocations: 27.73 kB / 297.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.02342, allocations: 8 kB / 297.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02353, allocations: 23.92 kB / 297.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.02358, allocations: 36.38 kB / 297.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.0236, allocations: 15.98 kB / 297.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.02366, allocations: 156.7 kB / 297.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02366, allocations: 0 / 297.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.02399, allocations: 155.6 kB / 297.6 MB, free: 12.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.02415, allocations: 135.2 kB / 297.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.02461, allocations: 483.6 kB / 298.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02462, allocations: 0 / 298.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.02486, allocations: 361.9 kB / 298.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.02508, allocations: 39.36 kB / 298.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.02601, allocations: 0.7504 MB / 299.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.02607, allocations: 110.3 kB / 299.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.02617, allocations: 46.95 kB / 299.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.0263, allocations: 122.2 kB / 299.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0263, allocations: 0 / 299.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of Templates: time 0.006687/0.03299, allocations: 4.855 MB / 304.5 MB, free: 5.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.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.826054668985307]