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.00179/0.00179, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002194/0.002194, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.342/2.342, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 177] 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.001976/0.001976, allocations: 55.91 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4212, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.009129/0.4303, allocations: 4.782 MB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.434, allocations: 1.477 MB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.4346, allocations: 31.75 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.4352, allocations: 221.7 kB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.4359, allocations: 198.1 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.4371, allocations: 415.3 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.4389, allocations: 1.122 MB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.4396, allocations: 339.8 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.4403, allocations: 418.3 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.4409, allocations: 437.5 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.4411, allocations: 84 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.4413, allocations: 107.9 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.4415, allocations: 211.2 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.442, allocations: 409.6 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4436, allocations: 1.189 MB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4436, allocations: 4 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4436, allocations: 0 / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.4436, allocations: 0 / 443.7 MB, free: 11.24 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.00278/0.4464, allocations: 1.267 MB / 445 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4465, allocations: 12.03 kB / 445 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004837/0.447, allocations: 151.1 kB / 445.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.4485, allocations: 0.5782 MB / 445.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.4486, allocations: 81.88 kB / 445.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.4488, allocations: 100 kB / 445.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007035/0.4558, allocations: 1.082 MB / 447 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.4559, allocations: 11.89 kB / 447 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.456, allocations: 44 kB / 447.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.456, allocations: 24 kB / 447.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.4577, allocations: 0.55 MB / 447.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006786/0.4645, allocations: 5.129 MB / 452.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.4653, allocations: 221 kB / 453 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008923/0.4742, allocations: 149.6 kB / 453.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4743, allocations: 12 kB / 453.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4744, allocations: 38.5 kB / 453.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/0.4744, allocations: 0 / 453.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005489/0.4799, allocations: 1.594 MB / 454.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.4799, allocations: 93.05 kB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.4809, allocations: 0.6564 MB / 455.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.481, allocations: 29.7 kB / 455.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.4816, allocations: 0.6201 MB / 456.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.4817, allocations: 150.8 kB / 456.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.482, allocations: 134.6 kB / 456.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.4823, allocations: 386.8 kB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.4827, allocations: 149.9 kB / 457 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.4834, allocations: 0.4932 MB / 457.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4847, allocations: 0.6986 MB / 458.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.4847, allocations: 4 kB / 458.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01353/0.4983, allocations: 0.7122 MB / 458.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.4983, allocations: 12.06 kB / 458.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4983, allocations: 12 kB / 458.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.192e-05/0.4984, allocations: 16 kB / 458.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/0.4993, allocations: 195.7 kB / 459.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.189e-05/0.4994, allocations: 31.8 kB / 459.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.4999, allocations: 35.98 kB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.5, allocations: 36 kB / 459.2 MB, free: 10.82 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.0004264/0.5004, allocations: 233.5 kB / 459.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.5006, allocations: 79.48 kB / 459.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.5008, allocations: 78.56 kB / 459.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5008, allocations: 4 kB / 459.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5008, allocations: 3.938 kB / 459.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5008, allocations: 7.984 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.504, allocations: 1.128 MB / 460.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.504, allocations: 0 / 460.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.5047, allocations: 107.8 kB / 460.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.5048, allocations: 4 kB / 460.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.5048, allocations: 11.98 kB / 460.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.5048, allocations: 12.09 kB / 460.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5048, allocations: 4 kB / 460.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5063, allocations: 0.7013 MB / 461.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5065, allocations: 71.52 kB / 461.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.5065, allocations: 11.94 kB / 461.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.507, allocations: 23.98 kB / 461.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.5071, allocations: 27.95 kB / 461.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.5071, allocations: 15.98 kB / 461.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.5079, allocations: 419 kB / 462.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5079, allocations: 0 / 462.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009488/0.5088, allocations: 136 kB / 462.3 MB, free: 7.676 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.0001515/0.509, allocations: 111.1 kB / 462.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.51, allocations: 429.3 kB / 462.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.51, allocations: 0 / 462.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.5104, allocations: 143.8 kB / 462.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.5112, allocations: 71.23 kB / 463 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.5149, allocations: 1.689 MB / 464.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.5155, allocations: 417.4 kB / 465.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.5158, allocations: 94 kB / 465.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.516, allocations: 63.41 kB / 465.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.516, allocations: 0 / 465.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of Templates: time 0.01802/0.5341, allocations: 5.906 MB / 471.1 MB, free: 14.78 MB / 382.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/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: 6.265446856006747]