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.0009808/0.0009808, allocations: 91.5 kB / 21.2 MB, free: 3.379 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.0009886/0.0009886, allocations: 156.5 kB / 24.55 MB, free: 24 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.9827/0.9827, allocations: 177 MB / 204.8 MB, free: 5.203 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.934e-06/1.934e-06, allocations: 0 / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.97e-05, allocations: 5.266 kB / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005652/0.005682, allocations: 3.693 MB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.008394, allocations: 1.437 MB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.00868, allocations: 11.94 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.01047, allocations: 0.7971 MB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.01146, allocations: 381.8 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.01248, allocations: 0.5293 MB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.01308, allocations: 481.7 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.01386, allocations: 418.2 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.0144, allocations: 323.2 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.01477, allocations: 215.4 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.01486, allocations: 44 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/0.0154, allocations: 203.7 kB / 281.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.01549, allocations: 111.6 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.01567, allocations: 155.6 kB / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008605/0.01653, allocations: 0.5214 MB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01654, allocations: 0 / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01654, allocations: 0 / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.01655, allocations: 0 / 282.2 MB, free: 7.969 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.002102/0.01866, allocations: 0.9563 MB / 283.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.01871, allocations: 11.98 kB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.02183, allocations: 0.5819 MB / 283.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.02231, allocations: 255.9 kB / 284 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.02235, allocations: 37.69 kB / 284 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.02245, allocations: 52.38 kB / 284.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.0233, allocations: 437.4 kB / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.02333, allocations: 192 / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.02338, allocations: 28.12 kB / 284.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.0234, allocations: 16 kB / 284.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.02414, allocations: 347.5 kB / 284.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.02694, allocations: 1.49 MB / 286.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.02825, allocations: 0.5754 MB / 286.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.02862, allocations: 177 kB / 287.1 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.02871, allocations: 28.47 kB / 287.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.02874, allocations: 37.89 kB / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.02875, allocations: 0 / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001357/0.0301, allocations: 0.5003 MB / 287.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.03014, allocations: 55.91 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.03032, allocations: 229.7 kB / 288 MB, free: 1.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.03035, allocations: 41.7 kB / 288 MB, free: 1.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.03049, allocations: 271.7 kB / 288.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.03061, allocations: 166.5 kB / 288.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.03077, allocations: 99.78 kB / 288.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.03092, allocations: 0.504 MB / 289 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.03112, allocations: 84.95 kB / 289.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.03138, allocations: 198.3 kB / 289.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.03185, allocations: 322.2 kB / 289.6 MB, free: 212 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.03186, allocations: 0 / 289.6 MB, free: 212 kB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1077/0.1395, allocations: 427.8 kB / 290 MB, free: 20.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1395, allocations: 6.406 kB / 290 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1395, allocations: 3.188 kB / 290 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.1399, allocations: 88.88 kB / 290.1 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.1424, allocations: 93.77 kB / 290.2 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.144, allocations: 2.005 MB / 292.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1443, allocations: 41.34 kB / 292.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1443, allocations: 19.64 kB / 292.3 MB, free: 19.25 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.0001609/0.1445, allocations: 183.2 kB / 292.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.1445, allocations: 39.95 kB / 292.5 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000857/0.1454, allocations: 424.7 kB / 292.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1454, allocations: 6.141 kB / 292.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1454, allocations: 2.531 kB / 292.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.1454, allocations: 7.859 kB / 292.9 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.1468, allocations: 0.9135 MB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1468, allocations: 5.812 kB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.147, allocations: 81.11 kB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.1473, allocations: 87.88 kB / 294 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.1474, allocations: 12.83 kB / 294 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1486, allocations: 2.001 MB / 296 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1486, allocations: 1.156 kB / 296 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009801/0.1496, allocations: 0.6411 MB / 296.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1496, allocations: 34.09 kB / 296.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1496, allocations: 11.75 kB / 296.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1498, allocations: 12.11 kB / 296.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.1499, allocations: 41.17 kB / 296.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.15, allocations: 11.56 kB / 296.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.15, allocations: 164.3 kB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 0 / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006053/0.1507, allocations: 156.2 kB / 297.1 MB, free: 16.53 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.0002602/0.1509, allocations: 143.7 kB / 297.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.1518, allocations: 0.5073 MB / 297.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1518, allocations: 2.156 kB / 297.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.1522, allocations: 375.6 kB / 298.1 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1525, allocations: 38.58 kB / 298.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1539, allocations: 0.7559 MB / 298.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.1539, allocations: 110.1 kB / 299 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.154, allocations: 51.2 kB / 299.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.1541, allocations: 35.52 kB / 299.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1541, allocations: 0 / 299.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006957/0.1611, allocations: 4.344 MB / 303.4 MB, free: 15.14 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 -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: 3.028660350944847]