Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 210.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.678/1.678, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 43.94 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2761, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004356/0.2805, allocations: 2.711 MB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2818, allocations: 0.6777 MB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2819, allocations: 11.94 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2821, allocations: 59.42 kB / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2823, allocations: 95.12 kB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.2825, allocations: 87.83 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.283, allocations: 382.8 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.2832, allocations: 119.3 kB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.2835, allocations: 155.5 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2838, allocations: 135.3 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.2838, allocations: 43.94 kB / 436 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.2839, allocations: 32 kB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.284, allocations: 67.77 kB / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.2841, allocations: 143.4 kB / 436.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.2846, allocations: 386.2 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2846, allocations: 4 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2846, allocations: 3.938 kB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2846, allocations: 0 / 436.7 MB, free: 1.613 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.001016/0.2856, allocations: 0.5509 MB / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2857, allocations: 8.031 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.2857, allocations: 36.7 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.2861, allocations: 214.7 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.2861, allocations: 21.03 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.2862, allocations: 36.38 kB / 437.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.2868, allocations: 333.8 kB / 437.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2868, allocations: 0 / 437.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2868, allocations: 15.94 kB / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2868, allocations: 8 kB / 437.9 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.2873, allocations: 214.5 kB / 438.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2888, allocations: 0.8595 MB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2892, allocations: 146.5 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.2894, allocations: 120.8 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2895, allocations: 4 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2895, allocations: 38.5 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.2895, allocations: 0 / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005768/0.2901, allocations: 221.8 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.2901, allocations: 55.41 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2903, allocations: 203.8 kB / 439.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2904, allocations: 29.7 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2905, allocations: 196.3 kB / 439.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2906, allocations: 79.3 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.2907, allocations: 49.98 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2908, allocations: 334.8 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.291, allocations: 68.45 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2912, allocations: 143.3 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.2916, allocations: 229.1 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2916, allocations: 4 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005186/0.2922, allocations: 269.2 kB / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2922, allocations: 7.938 kB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2922, allocations: 4 kB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2922, allocations: 4 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.2925, allocations: 75.89 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.2925, allocations: 12.17 kB / 441.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2927, allocations: 31.78 kB / 441.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2927, allocations: 12 kB / 441.2 MB, free: 12.77 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.0001389/0.2928, allocations: 145.8 kB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.2929, allocations: 19.84 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.2933, allocations: 198 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2933, allocations: 8.031 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2933, allocations: 4 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2933, allocations: 4 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.2941, allocations: 0.4983 MB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2941, allocations: 0 / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.2944, allocations: 59.89 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2944, allocations: 0 / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2944, allocations: 8 kB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2944, allocations: 0 / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2944, allocations: 4.062 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.295, allocations: 381.3 kB / 442.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.295, allocations: 23.83 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.2951, allocations: 8.062 kB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2952, allocations: 15.98 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.2953, allocations: 15.97 kB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2953, allocations: 4 kB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.2954, allocations: 144.5 kB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2954, allocations: 0 / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.2958, allocations: 83.73 kB / 442.8 MB, free: 11.09 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.0001321/0.2959, allocations: 107.1 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.2963, allocations: 164.2 kB / 443.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2963, allocations: 4 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.2965, allocations: 79.83 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2968, allocations: 31.92 kB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2981, allocations: 0.8448 MB / 444 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2983, allocations: 159.1 kB / 444.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.398e-05/0.2984, allocations: 21.94 kB / 444.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.2984, allocations: 19.44 kB / 444.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2984, allocations: 0 / 444.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of Templates: time 0.005762/0.3042, allocations: 2.154 MB / 446.4 MB, free: 7.488 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.086404599249363]