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.001393/0.001393, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001659/0.001659, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.492/1.492, allocations: 207.7 MB / 236.1 MB, free: 9.766 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.002154/0.002154, allocations: 63.92 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.34, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005953/0.346, allocations: 4.708 MB / 402.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3495, allocations: 1.437 MB / 403.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.3505, allocations: 37.59 kB / 403.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3511, allocations: 217.7 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008132/0.3519, allocations: 194.1 kB / 404.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3529, allocations: 403.6 kB / 404.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.3544, allocations: 1.123 MB / 405.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.355, allocations: 319.5 kB / 406 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.3557, allocations: 407.8 kB / 406.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.3562, allocations: 382 kB / 406.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3563, allocations: 83.5 kB / 406.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3565, allocations: 100.6 kB / 407 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3567, allocations: 210.7 kB / 407.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.3571, allocations: 403.2 kB / 407.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3584, allocations: 1.186 MB / 408.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3584, allocations: 0 / 408.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3584, allocations: 1.375 kB / 408.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.3584, allocations: 0 / 408.8 MB, free: 2.602 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.001946/0.3604, allocations: 1.272 MB / 410 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3604, allocations: 13.97 kB / 410.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.3606, allocations: 140.3 kB / 410.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3618, allocations: 0.5729 MB / 410.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.3618, allocations: 73.62 kB / 410.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.362, allocations: 105.2 kB / 410.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.3636, allocations: 1.076 MB / 412 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.3636, allocations: 7.281 kB / 412 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.3637, allocations: 43.94 kB / 412.1 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.3638, allocations: 30.22 kB / 412.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3649, allocations: 0.5597 MB / 412.7 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.3711, allocations: 5.112 MB / 417.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.3718, allocations: 218.8 kB / 418 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.3721, allocations: 153.5 kB / 418.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.3722, allocations: 7.719 kB / 418.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.3723, allocations: 47.12 kB / 418.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.3723, allocations: 3.938 kB / 418.2 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004279/0.3765, allocations: 1.575 MB / 419.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.3766, allocations: 82.23 kB / 419.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.3775, allocations: 0.6538 MB / 420.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3776, allocations: 35.98 kB / 420.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.3781, allocations: 0.615 MB / 421.2 MB, free: 8.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3782, allocations: 153.5 kB / 421.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.3784, allocations: 136.5 kB / 421.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.3787, allocations: 383.1 kB / 421.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.379, allocations: 157.2 kB / 422 MB, free: 8.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.3797, allocations: 0.4948 MB / 422.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3808, allocations: 0.7092 MB / 423.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3808, allocations: 3.875 kB / 423.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001338/0.3822, allocations: 0.7136 MB / 423.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3822, allocations: 11 kB / 423.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.3822, allocations: 15.45 kB / 423.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.3823, allocations: 17.72 kB / 423.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.3829, allocations: 192.2 kB / 424.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/0.3829, allocations: 27.52 kB / 424.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.3834, allocations: 38.23 kB / 424.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.3835, allocations: 39.97 kB / 424.2 MB, free: 6.594 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.0004132/0.3839, allocations: 222.5 kB / 424.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.384, allocations: 78.23 kB / 424.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3842, allocations: 74.98 kB / 424.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3842, allocations: 8.531 kB / 424.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3842, allocations: 1.594 kB / 424.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.3842, allocations: 3.938 kB / 424.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3865, allocations: 1.139 MB / 425.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.3865, allocations: 1.406 kB / 425.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.3869, allocations: 100.6 kB / 425.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.387, allocations: 3.031 kB / 425.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.387, allocations: 11.38 kB / 425.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.387, allocations: 4.25 kB / 425.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.387, allocations: 13.67 kB / 425.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3882, allocations: 0.6967 MB / 426.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3884, allocations: 63.08 kB / 426.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.3884, allocations: 12.84 kB / 426.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.3887, allocations: 28.45 kB / 426.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.3888, allocations: 30.64 kB / 426.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3888, allocations: 17.84 kB / 426.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005553/0.3894, allocations: 430.3 kB / 427.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 0 / 427.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007971/0.3902, allocations: 136 kB / 427.3 MB, free: 4.469 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.0001522/0.3903, allocations: 107.1 kB / 427.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008836/0.3912, allocations: 414.2 kB / 427.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3912, allocations: 0 / 427.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.3915, allocations: 152.5 kB / 427.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.3921, allocations: 66.94 kB / 428 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3955, allocations: 1.722 MB / 429.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.396, allocations: 417.3 kB / 430.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3961, allocations: 71.41 kB / 430.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3961, allocations: 4 kB / 430.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of Templates: time 0.01748/0.4136, allocations: 9.661 MB / 439.9 MB, free: 7.77 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.9492259519174695]