Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001507/0.001507, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001658/0.001658, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.957 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 51.92 kB / 378.3 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 53.36 MB / 431.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007566/0.2758, allocations: 5.422 MB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2791, allocations: 1.535 MB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.2795, allocations: 35.69 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.28, allocations: 225.8 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.2805, allocations: 190 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.2814, allocations: 427.2 kB / 439.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.2827, allocations: 1.13 MB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.2832, allocations: 332.9 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.2838, allocations: 418.2 kB / 441.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.2843, allocations: 437.5 kB / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.2844, allocations: 84 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.2846, allocations: 100 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.2848, allocations: 211.1 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.2852, allocations: 0.501 MB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2866, allocations: 1.195 MB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2866, allocations: 3.938 kB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2866, allocations: 0 / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2866, allocations: 0 / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001908/0.2885, allocations: 1.27 MB / 445.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2885, allocations: 8.031 kB / 445.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.2889, allocations: 151.1 kB / 445.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.29, allocations: 0.5821 MB / 445.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.2901, allocations: 81.94 kB / 445.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2902, allocations: 104 kB / 446 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.292, allocations: 1.028 MB / 447.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.292, allocations: 15.92 kB / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.2921, allocations: 40 kB / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.2921, allocations: 24 kB / 447.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2933, allocations: 0.5578 MB / 447.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.2989, allocations: 5.409 MB / 453.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.2995, allocations: 217 kB / 453.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.2998, allocations: 157.5 kB / 453.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.2999, allocations: 8 kB / 453.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3, allocations: 38.56 kB / 453.5 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.3, allocations: 0 / 453.5 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003927/0.3039, allocations: 1.596 MB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3039, allocations: 84.86 kB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.3047, allocations: 0.6335 MB / 455.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.3047, allocations: 41.7 kB / 455.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.3052, allocations: 0.62 MB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3054, allocations: 150.8 kB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3055, allocations: 138.5 kB / 456.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3058, allocations: 386.7 kB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.3061, allocations: 149.9 kB / 457.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.3067, allocations: 0.5048 MB / 457.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3077, allocations: 0.6959 MB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.3077, allocations: 4 kB / 458.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001256/0.309, allocations: 0.7075 MB / 459.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.309, allocations: 15.72 kB / 459.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.309, allocations: 12 kB / 459.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.271e-05/0.3091, allocations: 20 kB / 459.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/0.3098, allocations: 199.6 kB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.3098, allocations: 23.88 kB / 459.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.3102, allocations: 35.98 kB / 459.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.3102, allocations: 36 kB / 459.6 MB, free: 9.945 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003289/0.3105, allocations: 229.5 kB / 459.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3107, allocations: 83.48 kB / 459.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.3108, allocations: 70.69 kB / 459.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3108, allocations: 7.938 kB / 459.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3108, allocations: 0 / 459.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3108, allocations: 3.984 kB / 459.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.313, allocations: 1.289 MB / 461.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.313, allocations: 4 kB / 461.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.3135, allocations: 100 kB / 461.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.3135, allocations: 15.92 kB / 461.3 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.3135, allocations: 8 kB / 461.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3135, allocations: 3.984 kB / 461.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3135, allocations: 4 kB / 461.4 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3146, allocations: 0.709 MB / 462.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3147, allocations: 71.52 kB / 462.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3148, allocations: 8 kB / 462.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.3151, allocations: 23.98 kB / 462.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.3151, allocations: 39.88 kB / 462.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3152, allocations: 12 kB / 462.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005132/0.3157, allocations: 431 kB / 462.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3157, allocations: 0 / 462.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006908/0.3164, allocations: 136 kB / 462.8 MB, free: 6.617 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001534/0.3165, allocations: 115.1 kB / 462.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008273/0.3173, allocations: 416.3 kB / 463.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3173, allocations: 0 / 463.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3177, allocations: 149.2 kB / 463.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3182, allocations: 79.38 kB / 463.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.3211, allocations: 1.685 MB / 465.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.3218, allocations: 1.008 MB / 466.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.322, allocations: 94.05 kB / 466.3 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3222, allocations: 63.41 kB / 466.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3222, allocations: 0 / 466.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of Templates: time 0.01264/0.3348, allocations: 5.514 MB / 471.9 MB, free: 13.44 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.8729357910342515]