Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 358.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.0979, allocations: 49.43 MB / 408.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007245/0.1052, allocations: 5.374 MB / 413.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.1088, allocations: 1.434 MB / 414.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/0.1097, allocations: 27.88 kB / 415 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.1103, allocations: 213.8 kB / 415.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.1111, allocations: 194 kB / 415.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.112, allocations: 395.4 kB / 415.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1133, allocations: 1.122 MB / 416.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007173/0.1141, allocations: 488.2 kB / 417.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.1146, allocations: 390.3 kB / 417.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.1151, allocations: 437.4 kB / 418.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1153, allocations: 84 kB / 418.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.1155, allocations: 104 kB / 418.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.1157, allocations: 211.1 kB / 418.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.1162, allocations: 0.4932 MB / 419 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1178, allocations: 1.174 MB / 420.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1178, allocations: 0 / 420.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1178, allocations: 0 / 420.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1179, allocations: 0 / 420.2 MB, free: 10.64 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.002232/0.1201, allocations: 1.343 MB / 421.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.1202, allocations: 15.89 kB / 421.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.1204, allocations: 131.2 kB / 421.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1215, allocations: 0.6582 MB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.1216, allocations: 77.88 kB / 422.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1218, allocations: 100 kB / 422.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1234, allocations: 1.027 MB / 423.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.1235, allocations: 11.88 kB / 423.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.1236, allocations: 44 kB / 423.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.1236, allocations: 28 kB / 423.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1248, allocations: 0.5656 MB / 424.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.1301, allocations: 5.502 MB / 429.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.1308, allocations: 232.9 kB / 429.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1311, allocations: 153.6 kB / 430.1 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.1312, allocations: 89.09 kB / 430.2 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1313, allocations: 42.5 kB / 430.2 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 4.348e-06/0.1313, allocations: 0 / 430.2 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.1813/0.3126, allocations: 1.728 MB / 431.9 MB, free: 22.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3127, allocations: 86.7 kB / 432 MB, free: 22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.3133, allocations: 0.6305 MB / 432.7 MB, free: 21.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3133, allocations: 37.17 kB / 432.7 MB, free: 21.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3136, allocations: 0.614 MB / 433.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.3137, allocations: 157.7 kB / 433.5 MB, free: 21.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.3139, allocations: 138.8 kB / 433.6 MB, free: 21.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.314, allocations: 384.9 kB / 434 MB, free: 21.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.3142, allocations: 150.7 kB / 434.1 MB, free: 21.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.3147, allocations: 0.4911 MB / 434.6 MB, free: 20.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.3154, allocations: 0.6998 MB / 435.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3154, allocations: 4.688 kB / 435.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001025/0.3164, allocations: 0.7156 MB / 436 MB, free: 20.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3165, allocations: 8.625 kB / 436 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3165, allocations: 14.41 kB / 436.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.3165, allocations: 17.69 kB / 436.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.3172, allocations: 202.5 kB / 436.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.671e-05/0.3173, allocations: 23.27 kB / 436.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.3176, allocations: 38.27 kB / 436.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.3177, allocations: 42.75 kB / 436.4 MB, free: 20.14 MB / 350.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.0002884/0.318, allocations: 229.6 kB / 436.6 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.3181, allocations: 82.73 kB / 436.7 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.3182, allocations: 77.16 kB / 436.8 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3182, allocations: 2.969 kB / 436.8 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3183, allocations: 2.875 kB / 436.8 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.3183, allocations: 6.047 kB / 436.8 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3203, allocations: 1.313 MB / 438.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3203, allocations: 2.016 kB / 438.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.3208, allocations: 105.6 kB / 438.2 MB, free: 19.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3208, allocations: 6.219 kB / 438.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.3208, allocations: 13.62 kB / 438.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.3209, allocations: 10.47 kB / 438.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3209, allocations: 2.219 kB / 438.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.3218, allocations: 0.6942 MB / 438.9 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.3219, allocations: 145.8 kB / 439 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.322, allocations: 13.47 kB / 439.1 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3222, allocations: 24.72 kB / 439.1 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.3223, allocations: 27.7 kB / 439.1 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3224, allocations: 14.3 kB / 439.1 MB, free: 19.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.3228, allocations: 423.5 kB / 439.5 MB, free: 18.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3228, allocations: 1.438 kB / 439.5 MB, free: 18.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.3235, allocations: 135.1 kB / 439.7 MB, free: 18.92 MB / 350.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.0001091/0.3236, allocations: 116.7 kB / 439.8 MB, free: 18.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007611/0.3244, allocations: 438.1 kB / 440.2 MB, free: 18.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3244, allocations: 1.438 kB / 440.2 MB, free: 18.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3247, allocations: 159.3 kB / 440.4 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.3252, allocations: 82.44 kB / 440.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3276, allocations: 1.728 MB / 442.2 MB, free: 17.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3281, allocations: 1.003 MB / 443.2 MB, free: 17.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3283, allocations: 68.86 kB / 443.3 MB, free: 17.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3283, allocations: 0 / 443.3 MB, free: 17.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01475/0.343, allocations: 9.334 MB / 452.6 MB, free: 14.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.737567652948201]