Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001412/0.001412, allocations: 116.2 kB / 21.94 MB, free: 8 kB / 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.001507/0.001507, allocations: 200.8 kB / 25.23 MB, free: 3.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 55.92 kB / 348.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005808/0.2924, allocations: 5.382 MB / 403 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2958, allocations: 1.478 MB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.2968, allocations: 40.84 kB / 404.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.2973, allocations: 218.7 kB / 404.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007374/0.298, allocations: 198.7 kB / 404.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.299, allocations: 418.8 kB / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.3003, allocations: 1.116 MB / 406.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.3008, allocations: 338.8 kB / 406.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.3015, allocations: 411.9 kB / 407.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.302, allocations: 437.6 kB / 407.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.3021, allocations: 84.59 kB / 407.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.3024, allocations: 92.42 kB / 407.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3026, allocations: 209.8 kB / 408 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.303, allocations: 0.4992 MB / 408.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.3044, allocations: 1.179 MB / 409.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3044, allocations: 4 kB / 409.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3045, allocations: 0 / 409.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.3045, allocations: 1.312 kB / 409.7 MB, free: 1.742 MB / 318.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.001959/0.3064, allocations: 1.269 MB / 410.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3065, allocations: 13.58 kB / 411 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3066, allocations: 133 kB / 411.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3077, allocations: 0.567 MB / 411.7 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.3077, allocations: 81.88 kB / 411.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.3078, allocations: 104.8 kB / 411.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3095, allocations: 1.024 MB / 412.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.3095, allocations: 10.91 kB / 412.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.3096, allocations: 44.78 kB / 412.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.3096, allocations: 26.09 kB / 412.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3108, allocations: 0.561 MB / 413.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.3167, allocations: 5.409 MB / 418.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.3174, allocations: 227.8 kB / 419.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.3177, allocations: 145.6 kB / 419.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3178, allocations: 9.609 kB / 419.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.3178, allocations: 46.06 kB / 419.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/0.3178, allocations: 0 / 419.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004152/0.322, allocations: 1.568 MB / 420.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.322, allocations: 86.55 kB / 421 MB, free: 8.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.3229, allocations: 0.6388 MB / 421.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.3229, allocations: 35.02 kB / 421.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.3234, allocations: 0.6119 MB / 422.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3235, allocations: 157.3 kB / 422.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.3237, allocations: 139.7 kB / 422.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3239, allocations: 383.3 kB / 422.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3242, allocations: 149.4 kB / 423.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.3249, allocations: 0.4967 MB / 423.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.3259, allocations: 0.7004 MB / 424.3 MB, free: 6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3259, allocations: 7.562 kB / 424.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001212/0.3271, allocations: 0.715 MB / 425 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3271, allocations: 8.844 kB / 425 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.3271, allocations: 20.94 kB / 425 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.3272, allocations: 20.47 kB / 425 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.3278, allocations: 193.1 kB / 425.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.3278, allocations: 32.03 kB / 425.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.3282, allocations: 34.2 kB / 425.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.3283, allocations: 44.08 kB / 425.3 MB, free: 5.535 MB / 334.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.0003412/0.3286, allocations: 221 kB / 425.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3287, allocations: 79.05 kB / 425.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3289, allocations: 71.67 kB / 425.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3289, allocations: 4.25 kB / 425.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.3289, allocations: 7.922 kB / 425.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3289, allocations: 10.16 kB / 425.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3311, allocations: 1.279 MB / 427 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3311, allocations: 1.469 kB / 427 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.3316, allocations: 100.3 kB / 427.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3316, allocations: 2.938 kB / 427.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3316, allocations: 16.34 kB / 427.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3316, allocations: 2.906 kB / 427.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3316, allocations: 10.12 kB / 427.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3327, allocations: 0.7025 MB / 427.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3328, allocations: 71.08 kB / 427.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.3329, allocations: 12.31 kB / 427.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.3332, allocations: 20.42 kB / 427.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3333, allocations: 39.31 kB / 428 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3333, allocations: 13.16 kB / 428 MB, free: 3.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.3338, allocations: 418.4 kB / 428.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 0 / 428.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.3345, allocations: 142.2 kB / 428.5 MB, free: 3.371 MB / 334.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.000145/0.3347, allocations: 107.2 kB / 428.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008695/0.3356, allocations: 422.6 kB / 429.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3356, allocations: 0 / 429.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.3358, allocations: 147.7 kB / 429.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.3364, allocations: 79.19 kB / 429.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3396, allocations: 1.717 MB / 431 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.3403, allocations: 1.004 MB / 432 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.3405, allocations: 71.41 kB / 432.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3405, allocations: 0 / 432.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01823/0.3588, allocations: 9.362 MB / 441.4 MB, free: 6.367 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.914408692857251]