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.0007804/0.0007804, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003479/0.003479, allocations: 160 kB / 24.7 MB, free: 9.441 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.8684/0.8684, allocations: 177 MB / 204.9 MB, free: 5.711 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 7.41e-07/7.41e-07, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.295e-05, allocations: 3.828 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003068/0.003081, allocations: 3.398 MB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004438, allocations: 1.394 MB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.004563, allocations: 8 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.00543, allocations: 0.7458 MB / 331.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.005905, allocations: 385.8 kB / 331.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.006391, allocations: 0.521 MB / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.006683, allocations: 477.7 kB / 332.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.007065, allocations: 350 kB / 333 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.007331, allocations: 303.2 kB / 333.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.007498, allocations: 203.4 kB / 333.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.007535, allocations: 44 kB / 333.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.007754, allocations: 211.7 kB / 333.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.007802, allocations: 99.59 kB / 333.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.007897, allocations: 167.5 kB / 334 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.008406, allocations: 0.6971 MB / 334.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.008407, allocations: 0 / 334.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.008408, allocations: 0 / 334.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.008412, allocations: 0 / 334.7 MB, free: 6.367 MB / 298.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.00114/0.009553, allocations: 0.8407 MB / 335.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.009585, allocations: 15.98 kB / 335.6 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.01125, allocations: 472.1 kB / 336.1 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.0115, allocations: 249.1 kB / 336.3 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.01152, allocations: 41.69 kB / 336.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.01158, allocations: 56.36 kB / 336.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.01213, allocations: 0.5319 MB / 336.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.01215, allocations: 8.172 kB / 336.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.01218, allocations: 28.12 kB / 337 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.01219, allocations: 12 kB / 337 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.01278, allocations: 0.5595 MB / 337.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01429, allocations: 1.513 MB / 339 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.01512, allocations: 0.5588 MB / 339.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.01532, allocations: 189.5 kB / 339.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.01537, allocations: 20.42 kB / 339.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.01539, allocations: 43.05 kB / 339.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.432e-06/0.01539, allocations: 0 / 339.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001048/0.01644, allocations: 0.7161 MB / 340.6 MB, free: 380 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.01647, allocations: 59.91 kB / 340.6 MB, free: 308 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.01656, allocations: 166.2 kB / 340.8 MB, free: 132 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.01659, allocations: 37.7 kB / 340.8 MB, free: 88 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.01668, allocations: 236.9 kB / 341.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.01675, allocations: 158.6 kB / 341.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.01683, allocations: 86.14 kB / 341.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.01691, allocations: 330.8 kB / 341.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.01709, allocations: 152.9 kB / 341.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.0173, allocations: 232.2 kB / 342 MB, free: 14.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.0177, allocations: 404.7 kB / 342.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.0177, allocations: 0 / 342.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005781/0.01828, allocations: 0.5371 MB / 342.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01829, allocations: 11.98 kB / 342.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01829, allocations: 0 / 342.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.01864, allocations: 92.81 kB / 343 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.01881, allocations: 99.88 kB / 343.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.01994, allocations: 1.884 MB / 345 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.02006, allocations: 51.72 kB / 345.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.02007, allocations: 20 kB / 345.1 MB, free: 11.65 MB / 314.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.0001186/0.02019, allocations: 165.7 kB / 345.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.02023, allocations: 23.8 kB / 345.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.02085, allocations: 0.548 MB / 345.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.02085, allocations: 8 kB / 345.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.02085, allocations: 4 kB / 345.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.02085, allocations: 0 / 345.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.02176, allocations: 0.9683 MB / 346.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.02176, allocations: 0 / 346.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.02192, allocations: 75.84 kB / 346.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.02206, allocations: 88.8 kB / 347 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.02208, allocations: 12 kB / 347 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.02315, allocations: 1.891 MB / 348.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02315, allocations: 0 / 348.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.02393, allocations: 0.7953 MB / 349.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.02395, allocations: 35.89 kB / 349.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.02397, allocations: 11.98 kB / 349.7 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.02407, allocations: 19.98 kB / 349.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.02413, allocations: 40.55 kB / 349.8 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.02414, allocations: 16 kB / 349.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.1e-05/0.0242, allocations: 135.9 kB / 349.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0242, allocations: 0 / 349.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.02453, allocations: 151.6 kB / 350.1 MB, free: 6.492 MB / 314.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.0003246/0.02485, allocations: 143.1 kB / 350.2 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.02546, allocations: 0.5513 MB / 350.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.02546, allocations: 0 / 350.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.02575, allocations: 357.9 kB / 351.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.02597, allocations: 24 kB / 351.1 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.02677, allocations: 0.7907 MB / 351.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02689, allocations: 200.8 kB / 352.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.02697, allocations: 36.48 kB / 352.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02697, allocations: 0 / 352.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of Templates: time 0.005529/0.0325, allocations: 6.622 MB / 358.8 MB, free: 13.69 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 4.756317679770291]