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.001432/0.001432, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001161/0.001161, allocations: 165.5 kB / 24.82 MB, free: 9.316 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.9585/0.9585, allocations: 177 MB / 205.1 MB, free: 5.484 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.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 1.243e-06/1.243e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.289e-05, allocations: 5.266 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002731/0.002743, allocations: 2.862 MB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.003614, allocations: 0.7048 MB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.003733, allocations: 4 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.003894, allocations: 55.44 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.004011, allocations: 91.14 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.004202, allocations: 99.78 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.004458, allocations: 394.7 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.004656, allocations: 120.8 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.004936, allocations: 231.5 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005056, allocations: 111.6 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.005092, allocations: 32 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.513e-05/0.005127, allocations: 43.94 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.005173, allocations: 75.73 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.005252, allocations: 119.7 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.005473, allocations: 243.1 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005475, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005476, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.005479, allocations: 0 / 278.5 MB, free: 12.03 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005485/0.006027, allocations: 0.648 MB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.006063, allocations: 19.97 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.006122, allocations: 68.64 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006296, allocations: 204.1 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.006314, allocations: 25.03 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.006349, allocations: 32.36 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.006587, allocations: 262.7 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006595, allocations: 192 / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.006613, allocations: 12.38 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.00662, allocations: 7.938 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.00672, allocations: 92.5 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.007526, allocations: 0.8561 MB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.00766, allocations: 103.1 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.007749, allocations: 79.64 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.007762, allocations: 0 / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.007789, allocations: 41.39 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.007791, allocations: 4 kB / 280.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001976/0.007989, allocations: 153.2 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.008011, allocations: 59.33 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.008118, allocations: 238.2 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.008133, allocations: 33.7 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.00822, allocations: 247 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.008257, allocations: 79.34 kB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.008311, allocations: 55.58 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.008419, allocations: 0.504 MB / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.00845, allocations: 24.53 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.008528, allocations: 134.1 kB / 282.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.009328, allocations: 188.3 kB / 282.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00933, allocations: 0 / 282.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000177/0.009507, allocations: 197.3 kB / 282.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.00952, allocations: 10.66 kB / 282.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.009526, allocations: 3.984 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.009537, allocations: 4 kB / 282.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.009688, allocations: 71.91 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.009693, allocations: 7.938 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.009769, allocations: 31.77 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.009779, allocations: 4.25 kB / 283 MB, free: 7.254 MB / 266.7 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 8.052e-05/0.009859, allocations: 180.5 kB / 283.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.009887, allocations: 27.86 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.01004, allocations: 135.4 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01004, allocations: 0 / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01004, allocations: 0 / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01004, allocations: 3.938 kB / 283.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.01039, allocations: 465.1 kB / 283.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.0104, allocations: 4 kB / 283.8 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.01055, allocations: 55.97 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01055, allocations: 0 / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01056, allocations: 8 kB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01057, allocations: 3.938 kB / 283.8 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01057, allocations: 4 kB / 283.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.01081, allocations: 335.5 kB / 284.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.01083, allocations: 19.83 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01085, allocations: 8 kB / 284.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.01093, allocations: 19.88 kB / 284.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.01096, allocations: 19.92 kB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01097, allocations: 8 kB / 284.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.641e-05/0.01104, allocations: 167.1 kB / 284.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 284.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01124, allocations: 79.78 kB / 284.5 MB, free: 5.652 MB / 266.7 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 8.118e-05/0.01132, allocations: 107.3 kB / 284.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.01146, allocations: 107.3 kB / 284.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01146, allocations: 4.062 kB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.01152, allocations: 59.52 kB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01174, allocations: 39.08 kB / 284.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/0.01263, allocations: 0.7058 MB / 285.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01269, allocations: 87.97 kB / 285.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.01274, allocations: 21.94 kB / 285.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01284, allocations: 110.2 kB / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01284, allocations: 0 / 285.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of Templates: time 0.00361/0.01645, allocations: 1.984 MB / 287.7 MB, free: 2.402 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] 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","",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.7902262951247394]