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.001262/0.001262, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009404/0.0009404, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9599/0.9599, allocations: 177 MB / 205.2 MB, free: 5.039 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.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.209e-05, allocations: 2.312 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003596/0.003618, allocations: 3.665 MB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.00592, allocations: 1.475 MB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.006125, allocations: 8 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.007167, allocations: 0.797 MB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.007839, allocations: 381.8 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.00845, allocations: 0.5253 MB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.008868, allocations: 477.7 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.009375, allocations: 446.7 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.009717, allocations: 319.3 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.009917, allocations: 211.4 kB / 281.7 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.009962, allocations: 44 kB / 281.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.01029, allocations: 215.8 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.01035, allocations: 111.5 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.01044, allocations: 163.6 kB / 282.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.01092, allocations: 0.5176 MB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01092, allocations: 4 kB / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01092, allocations: 0 / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.01093, allocations: 0 / 282.7 MB, free: 7.66 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.001145/0.01207, allocations: 0.8588 MB / 283.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.0121, allocations: 15.98 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.01404, allocations: 0.6523 MB / 284.3 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.01427, allocations: 177.2 kB / 284.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01429, allocations: 37.69 kB / 284.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.01435, allocations: 60.31 kB / 284.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.01471, allocations: 389.3 kB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.01473, allocations: 4.188 kB / 284.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.01475, allocations: 24.12 kB / 284.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01476, allocations: 12 kB / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.01503, allocations: 242.2 kB / 285.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01641, allocations: 1.205 MB / 286.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.01705, allocations: 0.4943 MB / 286.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.0172, allocations: 134.2 kB / 287 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.01725, allocations: 28.42 kB / 287 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.01727, allocations: 43.05 kB / 287.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.764e-06/0.01727, allocations: 0 / 287.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.000599/0.01787, allocations: 382.6 kB / 287.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.0179, allocations: 55.91 kB / 287.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.01799, allocations: 166.5 kB / 287.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.01801, allocations: 33.7 kB / 287.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.01809, allocations: 221 kB / 287.9 MB, free: 2.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.01816, allocations: 166.5 kB / 288.1 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.01824, allocations: 94.02 kB / 288.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.01831, allocations: 338.8 kB / 288.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.01837, allocations: 48.98 kB / 288.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.01847, allocations: 145.9 kB / 288.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.01867, allocations: 249.8 kB / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01867, allocations: 0 / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003131/0.01899, allocations: 307 kB / 289.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.019, allocations: 4 kB / 289.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.019, allocations: 4 kB / 289.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.01922, allocations: 96.98 kB / 289.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01941, allocations: 91.88 kB / 289.4 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1035/0.1229, allocations: 1.374 MB / 290.8 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1231, allocations: 40.38 kB / 290.8 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1231, allocations: 13.44 kB / 290.9 MB, free: 20.31 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.0001147/0.1233, allocations: 136.4 kB / 291 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.1233, allocations: 31.66 kB / 291 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.1237, allocations: 318.2 kB / 291.3 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1237, allocations: 7.844 kB / 291.3 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1237, allocations: 3.484 kB / 291.3 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1238, allocations: 2.062 kB / 291.3 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.1244, allocations: 0.6245 MB / 292 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1244, allocations: 2.484 kB / 292 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1246, allocations: 79.8 kB / 292.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.1248, allocations: 80.53 kB / 292.1 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1248, allocations: 11.7 kB / 292.1 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006432/0.1255, allocations: 1.377 MB / 293.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1255, allocations: 6.219 kB / 293.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1259, allocations: 462.2 kB / 294 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.1259, allocations: 34.88 kB / 294 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.126, allocations: 12.05 kB / 294 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1261, allocations: 15.47 kB / 294 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.1261, allocations: 35.86 kB / 294.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1261, allocations: 9.422 kB / 294.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.1262, allocations: 40.61 kB / 294.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1262, allocations: 0.5312 kB / 294.1 MB, free: 18.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.1265, allocations: 150.7 kB / 294.3 MB, free: 18.6 MB / 266.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.0001576/0.1267, allocations: 129 kB / 294.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.1271, allocations: 395.8 kB / 294.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1271, allocations: 1.703 kB / 294.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.1273, allocations: 286.4 kB / 295.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.1275, allocations: 33.89 kB / 295.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.1285, allocations: 0.7274 MB / 295.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.1285, allocations: 111.4 kB / 295.9 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1286, allocations: 47.44 kB / 296 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1288, allocations: 101 kB / 296.1 MB, free: 17.76 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1288, allocations: 0 / 296.1 MB, free: 17.76 MB / 266.7 MB Notification: Performance of Templates: time 0.006929/0.1357, allocations: 4.68 MB / 300.8 MB, free: 17.34 MB / 266.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 -s gbode -gbm=radauIIA3 -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.633099914994091]