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.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.001512/0.001512, allocations: 106 kB / 21.18 MB, free: 0.6992 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.002027/0.002027, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.794/1.794, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 51.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4735, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.01047/0.484, allocations: 5.368 MB / 402.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.4894, allocations: 1.49 MB / 403.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.4917, allocations: 36.69 kB / 403.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008804/0.4926, allocations: 219.3 kB / 403.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.494, allocations: 193.6 kB / 404.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.4955, allocations: 411.2 kB / 404.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.4976, allocations: 1.128 MB / 405.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.4984, allocations: 335.2 kB / 406 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/0.4993, allocations: 412.4 kB / 406.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.4999, allocations: 437.8 kB / 406.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.5001, allocations: 86.5 kB / 406.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.5004, allocations: 96.56 kB / 407 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.5006, allocations: 210.5 kB / 407.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.501, allocations: 0.4963 MB / 407.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.5034, allocations: 1.182 MB / 408.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5034, allocations: 0.6094 kB / 408.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5034, allocations: 0 / 408.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.5035, allocations: 1.375 kB / 408.9 MB, free: 1.746 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.002447/0.5059, allocations: 1.265 MB / 410.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.506, allocations: 18.27 kB / 410.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.5062, allocations: 131.8 kB / 410.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5076, allocations: 0.5749 MB / 410.9 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.5076, allocations: 78.31 kB / 410.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5078, allocations: 96.78 kB / 411 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5098, allocations: 1.026 MB / 412.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.5098, allocations: 6.531 kB / 412.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.5099, allocations: 44.53 kB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.51, allocations: 29.98 kB / 412.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.5114, allocations: 0.5574 MB / 412.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/0.5189, allocations: 5.406 MB / 418.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.5197, allocations: 223.4 kB / 418.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.5201, allocations: 157.5 kB / 418.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.5202, allocations: 5.875 kB / 418.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/0.5203, allocations: 49.25 kB / 418.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 3.256e-06/0.5203, allocations: 3.938 kB / 418.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005422/0.5257, allocations: 1.567 MB / 420.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5258, allocations: 85.58 kB / 420.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5269, allocations: 0.6388 MB / 420.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.527, allocations: 35.95 kB / 420.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005856/0.5275, allocations: 0.6113 MB / 421.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.5277, allocations: 158.6 kB / 421.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.5279, allocations: 134.9 kB / 421.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002711/0.5282, allocations: 384 kB / 422.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.5286, allocations: 152.9 kB / 422.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.5295, allocations: 0.4889 MB / 422.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.531, allocations: 0.7035 MB / 423.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.531, allocations: 3.938 kB / 423.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001956/0.5329, allocations: 0.7186 MB / 424.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.533, allocations: 9.875 kB / 424.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.533, allocations: 24.27 kB / 424.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-05/0.5331, allocations: 16.31 kB / 424.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.5339, allocations: 188.5 kB / 424.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.5339, allocations: 32.86 kB / 424.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.5345, allocations: 33.83 kB / 424.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.5346, allocations: 39.34 kB / 424.5 MB, free: 5.555 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.0006145/0.5352, allocations: 221.9 kB / 424.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.5356, allocations: 83.8 kB / 424.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.5358, allocations: 82.67 kB / 424.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5358, allocations: 4.781 kB / 424.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.5358, allocations: 3.938 kB / 424.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5358, allocations: 1.344 kB / 424.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.539, allocations: 1.283 MB / 426.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.539, allocations: 2.312 kB / 426.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.5396, allocations: 108.3 kB / 426.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.5396, allocations: 3.562 kB / 426.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.5397, allocations: 15.97 kB / 426.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.5397, allocations: 2.562 kB / 426.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.5397, allocations: 6.688 kB / 426.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.5418, allocations: 0.702 MB / 427 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.542, allocations: 71.3 kB / 427.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.5421, allocations: 11.53 kB / 427.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.5425, allocations: 28.67 kB / 427.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5426, allocations: 31.45 kB / 427.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.5426, allocations: 9.094 kB / 427.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009186/0.5436, allocations: 426.4 kB / 427.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5436, allocations: 0 / 427.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001319/0.5449, allocations: 136.8 kB / 427.7 MB, free: 3.391 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.0002747/0.5452, allocations: 115.2 kB / 427.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.5463, allocations: 413 kB / 428.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5463, allocations: 1.688 kB / 428.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.5467, allocations: 147.7 kB / 428.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.5474, allocations: 79.55 kB / 428.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.5514, allocations: 1.675 MB / 430.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.5523, allocations: 1.004 MB / 431.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.5527, allocations: 94 kB / 431.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.5529, allocations: 67.34 kB / 431.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.076e-06/0.5529, allocations: 0 / 431.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01594/0.5689, allocations: 5.508 MB / 436.8 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 659] 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.762514419853687]