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.001765/0.001765, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002223/0.002223, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002133/0.002133, allocations: 67.89 kB / 378.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2623, allocations: 53.41 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.006259/0.2686, allocations: 2.715 MB / 434.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2705, allocations: 0.6739 MB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.2709, allocations: 11.94 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.2712, allocations: 55.38 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.2716, allocations: 91.25 kB / 435.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.2719, allocations: 95.81 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.2726, allocations: 374.9 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.273, allocations: 119.3 kB / 435.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.2735, allocations: 159.4 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.2739, allocations: 135.3 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.274, allocations: 35.98 kB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.2741, allocations: 32 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.2742, allocations: 79.75 kB / 436.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.2744, allocations: 139.4 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.275, allocations: 386.1 kB / 436.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.275, allocations: 0 / 436.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.275, allocations: 0 / 436.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.275, allocations: 3.938 kB / 436.7 MB, free: 1.414 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.001228/0.2762, allocations: 0.5521 MB / 437.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2763, allocations: 11.98 kB / 437.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.2764, allocations: 40.7 kB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.2768, allocations: 206.7 kB / 437.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.2769, allocations: 25.03 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.2769, allocations: 36.38 kB / 437.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.2775, allocations: 333.8 kB / 437.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2776, allocations: 0 / 437.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.2776, allocations: 11.98 kB / 437.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2776, allocations: 8 kB / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.2781, allocations: 218.6 kB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2797, allocations: 0.8516 MB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.28, allocations: 158.5 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.2803, allocations: 120.8 kB / 439.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2803, allocations: 0 / 439.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.2804, allocations: 42.5 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.2804, allocations: 3.938 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006004/0.281, allocations: 220.5 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.281, allocations: 55.41 kB / 439.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2812, allocations: 199.1 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2813, allocations: 33.64 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.2814, allocations: 196.3 kB / 440 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.2815, allocations: 75.38 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.2816, allocations: 53.98 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2817, allocations: 330.8 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.2819, allocations: 68.52 kB / 440.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.2822, allocations: 147 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.2826, allocations: 225.2 kB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2826, allocations: 0 / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005172/0.2831, allocations: 269.2 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2831, allocations: 11.94 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2831, allocations: 0 / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2831, allocations: 4 kB / 441.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.2834, allocations: 76.14 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2835, allocations: 11.94 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2836, allocations: 31.77 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2836, allocations: 12 kB / 441.3 MB, free: 12.56 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.0001505/0.2838, allocations: 141.8 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.2838, allocations: 19.84 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.2843, allocations: 194.9 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2843, allocations: 4 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2843, allocations: 8 kB / 441.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2843, allocations: 0 / 441.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.2851, allocations: 0.5073 MB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2851, allocations: 4 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2854, allocations: 47.97 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2854, allocations: 4 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2855, allocations: 4 kB / 442.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2855, allocations: 4 kB / 442.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2855, allocations: 4.062 kB / 442.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2861, allocations: 385.2 kB / 442.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.2862, allocations: 23.84 kB / 442.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2862, allocations: 4.062 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.2864, allocations: 15.98 kB / 442.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.2864, allocations: 20 kB / 442.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2865, allocations: 8 kB / 442.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.2866, allocations: 144.5 kB / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2866, allocations: 0 / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.287, allocations: 87.67 kB / 442.9 MB, free: 10.88 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.0001383/0.2871, allocations: 99.19 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.2875, allocations: 175.4 kB / 443.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2875, allocations: 0 / 443.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.2877, allocations: 75.84 kB / 443.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.288, allocations: 28.2 kB / 443.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2895, allocations: 0.8477 MB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.2897, allocations: 163.1 kB / 444.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.2898, allocations: 21.94 kB / 444.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.2899, allocations: 19.44 kB / 444.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2899, allocations: 0 / 444.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Templates: time 0.006146/0.296, allocations: 2.151 MB / 446.5 MB, free: 7.281 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 4.73230074159801]