Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001775/0.001775, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.002175/0.002175, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2281, allocations: 53.41 MB / 432.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00425/0.2324, allocations: 2.936 MB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2337, allocations: 0.7244 MB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.2339, allocations: 11.94 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.2341, allocations: 55.44 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.2342, allocations: 87.19 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2345, allocations: 95.75 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.2349, allocations: 378.9 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.2352, allocations: 124.8 kB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.2354, allocations: 155.5 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.2357, allocations: 167.2 kB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.2357, allocations: 35.94 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.2358, allocations: 32 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.2358, allocations: 67.77 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.236, allocations: 175.2 kB / 437.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.2364, allocations: 383.7 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2364, allocations: 0 / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2364, allocations: 4 kB / 437.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2365, allocations: 0 / 437.8 MB, free: 1.328 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009901/0.2374, allocations: 0.5482 MB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2375, allocations: 8.031 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.2376, allocations: 44.7 kB / 438.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2379, allocations: 202.7 kB / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2379, allocations: 25.03 kB / 438.7 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.238, allocations: 32.38 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.2385, allocations: 286.2 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2386, allocations: 4 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.2386, allocations: 16 kB / 439 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2386, allocations: 11.98 kB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.2391, allocations: 214.5 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2407, allocations: 0.976 MB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.241, allocations: 146.6 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.2413, allocations: 128.5 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2413, allocations: 11.83 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2414, allocations: 42.55 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.2414, allocations: 0 / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006023/0.242, allocations: 224.2 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.242, allocations: 51.41 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2422, allocations: 224.1 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2423, allocations: 29.69 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2424, allocations: 188.4 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.2425, allocations: 87.31 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.2425, allocations: 45.98 kB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2427, allocations: 330.8 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2429, allocations: 68.53 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2431, allocations: 155.5 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.2435, allocations: 225.2 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2435, allocations: 0 / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00052/0.244, allocations: 273.1 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2441, allocations: 8.25 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2441, allocations: 8 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2441, allocations: 4 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.2444, allocations: 67.91 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2444, allocations: 7.984 kB / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.2446, allocations: 31.78 kB / 442.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2446, allocations: 8 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.2447, allocations: 141.8 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.2448, allocations: 31.8 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.2452, allocations: 202.8 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2452, allocations: 4 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2452, allocations: 0 / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2452, allocations: 0 / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.2461, allocations: 0.5731 MB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2461, allocations: 0 / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2464, allocations: 59.91 kB / 443.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2464, allocations: 3.984 kB / 443.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2464, allocations: 8 kB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2464, allocations: 0 / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2464, allocations: 0 / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.247, allocations: 373.4 kB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2471, allocations: 35.84 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.2471, allocations: 4 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.2473, allocations: 16.11 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2473, allocations: 19.97 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2473, allocations: 8.047 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.2475, allocations: 159.5 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2475, allocations: 3.938 kB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.2478, allocations: 79.78 kB / 444.2 MB, free: 10.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.248, allocations: 103.2 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004412/0.2484, allocations: 178.4 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2484, allocations: 4 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.2486, allocations: 71.91 kB / 444.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2489, allocations: 29.28 kB / 444.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2503, allocations: 0.8813 MB / 445.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.2507, allocations: 0.7675 MB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.2508, allocations: 23.44 kB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2508, allocations: 0 / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005518/0.2563, allocations: 2.986 MB / 449.2 MB, free: 5.496 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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: 7.163349519018084]