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.001995/0.001995, allocations: 107.6 kB / 21.18 MB, free: 452 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.002806/0.002806, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.548/1.548, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001906/0.001906, allocations: 52.44 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 49.16 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006464/0.3209, allocations: 4.708 MB / 401.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.3241, allocations: 1.438 MB / 403 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.3245, allocations: 36.25 kB / 403.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.3251, allocations: 219.8 kB / 403.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.3256, allocations: 197.7 kB / 403.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.3265, allocations: 395.3 kB / 403.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.3281, allocations: 1.123 MB / 405 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.3287, allocations: 327.8 kB / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005724/0.3293, allocations: 408.5 kB / 405.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.3297, allocations: 380.9 kB / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.3299, allocations: 83.81 kB / 406.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.3301, allocations: 96.2 kB / 406.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.3302, allocations: 209.8 kB / 406.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.3307, allocations: 409.4 kB / 406.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.3324, allocations: 1.188 MB / 408 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3324, allocations: 1.375 kB / 408 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3324, allocations: 0 / 408 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.3325, allocations: 4 kB / 408 MB, free: 2.598 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.002677/0.3351, allocations: 1.266 MB / 409.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.3352, allocations: 12.83 kB / 409.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.3355, allocations: 132.3 kB / 409.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.3369, allocations: 0.5698 MB / 410 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.337, allocations: 77.62 kB / 410.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.3372, allocations: 100.5 kB / 410.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.3395, allocations: 1.08 MB / 411.3 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.3395, allocations: 10.84 kB / 411.3 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.3396, allocations: 43.66 kB / 411.3 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.3397, allocations: 26.34 kB / 411.3 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.3413, allocations: 0.5529 MB / 411.9 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.3483, allocations: 5.119 MB / 417 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.3492, allocations: 234.8 kB / 417.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.3497, allocations: 145.2 kB / 417.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3498, allocations: 10.84 kB / 417.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/0.3499, allocations: 41.62 kB / 417.4 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 3.607e-06/0.3499, allocations: 0.8438 kB / 417.4 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005785/0.3556, allocations: 1.58 MB / 419 MB, free: 9.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3557, allocations: 85.64 kB / 419.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3569, allocations: 0.6515 MB / 419.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.3569, allocations: 38.77 kB / 419.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.3576, allocations: 0.6161 MB / 420.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.3578, allocations: 153.4 kB / 420.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.3581, allocations: 135.2 kB / 420.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.3583, allocations: 384.3 kB / 421.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.3588, allocations: 157.4 kB / 421.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.3596, allocations: 0.4941 MB / 421.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3611, allocations: 0.7028 MB / 422.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.3611, allocations: 2.625 kB / 422.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001887/0.363, allocations: 0.7189 MB / 423.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.363, allocations: 13.39 kB / 423.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.3631, allocations: 16.38 kB / 423.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.33e-05/0.3631, allocations: 20.31 kB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.3641, allocations: 188.8 kB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.672e-05/0.3641, allocations: 27.67 kB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.3648, allocations: 38.73 kB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.3649, allocations: 40.72 kB / 423.5 MB, free: 6.586 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.0005624/0.3654, allocations: 221.6 kB / 423.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3656, allocations: 77.7 kB / 423.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3658, allocations: 79.98 kB / 423.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3658, allocations: 3.719 kB / 423.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.3658, allocations: 1.406 kB / 423.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.3659, allocations: 3.938 kB / 423.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.3691, allocations: 1.131 MB / 425 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3691, allocations: 1.438 kB / 425 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.3698, allocations: 104 kB / 425.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.3698, allocations: 2.469 kB / 425.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3699, allocations: 9.312 kB / 425.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.3699, allocations: 6.391 kB / 425.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.3699, allocations: 10.84 kB / 425.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3716, allocations: 0.6966 MB / 425.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.3719, allocations: 68.11 kB / 425.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.372, allocations: 15.94 kB / 425.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.3724, allocations: 28.11 kB / 425.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3726, allocations: 31.11 kB / 426 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.3726, allocations: 13.84 kB / 426 MB, free: 4.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.3735, allocations: 420.3 kB / 426.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3735, allocations: 0 / 426.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001378/0.3749, allocations: 138.3 kB / 426.5 MB, free: 4.48 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.0002626/0.3751, allocations: 107.2 kB / 426.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3763, allocations: 414.6 kB / 427 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.3763, allocations: 4.125 kB / 427 MB, free: 3.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.3767, allocations: 147.7 kB / 427.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.3775, allocations: 78.86 kB / 427.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.3812, allocations: 1.685 MB / 428.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.3818, allocations: 421.3 kB / 429.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.3821, allocations: 86.02 kB / 429.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.3823, allocations: 63.41 kB / 429.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3823, allocations: 0 / 429.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Templates: time 0.01476/0.3971, allocations: 5.679 MB / 435.2 MB, free: 11.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/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: 5.119117069989443]