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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 174.9 kB / 14.1 MB, free: 1.211 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.2 MB / 219.8 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.974e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4388, allocations: 81.21 MB / 451.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4391, allocations: 74.7 kB / 451.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0387/0.4778, allocations: 15.97 MB / 467.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4778, allocations: 0 / 467.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.7e-05/0.4779, allocations: 35.98 kB / 467.3 MB, free: 13.28 MB / 346.7 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.001548/0.4795, allocations: 1.025 MB / 468.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4795, allocations: 8.219 kB / 468.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.4797, allocations: 132.5 kB / 468.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.4805, allocations: 0.5547 MB / 469 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.4806, allocations: 78 kB / 469.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4807, allocations: 99.91 kB / 469.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.4823, allocations: 0.9917 MB / 470.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.4823, allocations: 8 kB / 470.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.4824, allocations: 44 kB / 470.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.4824, allocations: 24 kB / 470.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.4834, allocations: 0.515 MB / 470.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004988/0.4884, allocations: 5.54 MB / 476.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.4888, allocations: 217 kB / 476.5 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.4891, allocations: 145.7 kB / 476.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.4893, allocations: 85.11 kB / 476.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4893, allocations: 42.48 kB / 476.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/0.4894, allocations: 0 / 476.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002944/0.4923, allocations: 1.523 MB / 478.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.4924, allocations: 81.11 kB / 478.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.493, allocations: 0.5428 MB / 479 MB, free: 0.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.493, allocations: 33.7 kB / 479 MB, free: 0.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.4933, allocations: 0.6025 MB / 479.6 MB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/0.4934, allocations: 150 kB / 479.7 MB, free: 160 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.4935, allocations: 16 kB / 479.7 MB, free: 144 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4936, allocations: 382.8 kB / 480.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4938, allocations: 125.6 kB / 480.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.4943, allocations: 471 kB / 480.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.4946, allocations: 212.2 kB / 480.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4946, allocations: 4 kB / 480.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008856/0.4955, allocations: 0.6645 MB / 481.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4955, allocations: 8 kB / 481.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4955, allocations: 12.91 kB / 481.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.4956, allocations: 20 kB / 481.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.4962, allocations: 211.6 kB / 481.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.4962, allocations: 19.94 kB / 481.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.4965, allocations: 39.98 kB / 481.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.4966, allocations: 36 kB / 481.9 MB, free: 13.79 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4967, allocations: 160.6 kB / 482.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4968, allocations: 75.06 kB / 482.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.497, allocations: 74.31 kB / 482.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.497, allocations: 4 kB / 482.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.497, allocations: 7.953 kB / 482.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.497, allocations: 3.984 kB / 482.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.4988, allocations: 1.296 MB / 483.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4988, allocations: 0 / 483.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.4993, allocations: 120 kB / 483.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.4993, allocations: 4 kB / 483.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.4993, allocations: 11.98 kB / 483.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4993, allocations: 4 kB / 483.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4994, allocations: 3.984 kB / 483.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.5001, allocations: 0.7188 MB / 484.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5002, allocations: 144.1 kB / 484.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.5003, allocations: 16.03 kB / 484.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.5006, allocations: 23.98 kB / 484.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.5006, allocations: 27.92 kB / 484.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5007, allocations: 15.98 kB / 484.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004108/0.5011, allocations: 411.2 kB / 485 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5011, allocations: 0 / 485 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00058/0.5017, allocations: 140 kB / 485.2 MB, free: 10.39 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.5019, allocations: 123 kB / 485.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.5024, allocations: 380.7 kB / 485.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5024, allocations: 1.875 kB / 485.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.5026, allocations: 131.8 kB / 485.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.503, allocations: 71.56 kB / 485.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.505, allocations: 1.215 MB / 487.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.5055, allocations: 1.028 MB / 488.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.5058, allocations: 101.9 kB / 488.2 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.506, allocations: 63.42 kB / 488.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.506, allocations: 0 / 488.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of Templates: time 0.009663/0.5156, allocations: 4.543 MB / 492.8 MB, free: 2.668 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches