Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001366/0.001366, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00161/0.00161, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2731, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004131/0.2772, allocations: 2.7 MB / 434.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2784, allocations: 0.6816 MB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2785, allocations: 11.94 kB / 435 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.2787, allocations: 63.42 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2789, allocations: 83.2 kB / 435.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.2791, allocations: 91.81 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2795, allocations: 366.5 kB / 435.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2798, allocations: 121.4 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.2801, allocations: 155.4 kB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.2803, allocations: 159.3 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.2803, allocations: 35.94 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.2804, allocations: 32 kB / 436.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.2804, allocations: 75.75 kB / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2806, allocations: 139.4 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.281, allocations: 373.1 kB / 436.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.281, allocations: 4 kB / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.281, allocations: 0 / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.281, allocations: 0 / 436.6 MB, free: 1.633 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.0009365/0.2819, allocations: 0.5443 MB / 437.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.282, allocations: 11.97 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.282, allocations: 40.7 kB / 437.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2824, allocations: 202.7 kB / 437.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2824, allocations: 25.03 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.2825, allocations: 28.38 kB / 437.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.283, allocations: 337.7 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.283, allocations: 3.984 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2831, allocations: 16 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2831, allocations: 4 kB / 437.8 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.2835, allocations: 202.5 kB / 438 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.285, allocations: 0.8165 MB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.2853, allocations: 150.6 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2854, allocations: 76.83 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2855, allocations: 3.938 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2855, allocations: 42.55 kB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.2855, allocations: 0 / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005569/0.2861, allocations: 201.7 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.2861, allocations: 59.34 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2863, allocations: 188.2 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2863, allocations: 25.7 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2865, allocations: 208.2 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2865, allocations: 71.42 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.2866, allocations: 45.7 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2868, allocations: 326.8 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2869, allocations: 59.95 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2871, allocations: 121.9 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.2875, allocations: 193.8 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2875, allocations: 0 / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004715/0.288, allocations: 249.3 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.288, allocations: 6.656 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.288, allocations: 0 / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.288, allocations: 8.125 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2883, allocations: 59.91 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2883, allocations: 7.984 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2884, allocations: 19.89 kB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2885, allocations: 12 kB / 440.9 MB, free: 13.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001451/0.2886, allocations: 141.7 kB / 441.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.2887, allocations: 19.84 kB / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.2891, allocations: 193.9 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2891, allocations: 4 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2891, allocations: 0 / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2891, allocations: 3.984 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.2894, allocations: 213.2 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2894, allocations: 0 / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.2897, allocations: 47.97 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2897, allocations: 3.938 kB / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2897, allocations: 11.98 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2897, allocations: 0 / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2897, allocations: 4 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.2903, allocations: 343.2 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.2904, allocations: 27.8 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2904, allocations: 4 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2906, allocations: 15.98 kB / 442 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2907, allocations: 15.97 kB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2907, allocations: 8.125 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2908, allocations: 143.4 kB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2908, allocations: 0 / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.2911, allocations: 79.78 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.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 (19): * Single equations (assignments): 19 * 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.0001167/0.2912, allocations: 111.2 kB / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.2916, allocations: 154.6 kB / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2916, allocations: 0 / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.2918, allocations: 72.14 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2921, allocations: 27.94 kB / 442.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2934, allocations: 0.8272 MB / 443.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.2936, allocations: 159.4 kB / 443.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.2937, allocations: 17.62 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.2937, allocations: 19.44 kB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2937, allocations: 0 / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.005826/0.2995, allocations: 2.17 MB / 445.7 MB, free: 8.195 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.856298742815852]