Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001516/0.001515, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.932/1.932, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001182/0.001182, allocations: 91.38 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1781/0.5207, allocations: 81.32 MB / 455.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.5211, allocations: 67.97 kB / 455.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07428/0.5954, allocations: 16 MB / 471.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5955, allocations: 0 / 471.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.154e-05/0.5956, allocations: 35.98 kB / 472 MB, free: 15.02 MB / 362.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.002817/0.5984, allocations: 1.122 MB / 473.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5985, allocations: 8.031 kB / 473.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.5988, allocations: 126.4 kB / 473.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.6002, allocations: 0.5508 MB / 473.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.6003, allocations: 78 kB / 473.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.6006, allocations: 96 kB / 473.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.6032, allocations: 1.027 MB / 475 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.826e-05/0.6033, allocations: 7.938 kB / 475 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.6034, allocations: 44 kB / 475 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.6035, allocations: 24 kB / 475 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.6056, allocations: 0.5578 MB / 475.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008012/0.6137, allocations: 5.548 MB / 481.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.6146, allocations: 232.9 kB / 481.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.6148, allocations: 89.09 kB / 481.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.6149, allocations: 38.56 kB / 481.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.757e-05/0.6149, allocations: 0 / 481.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.005841/0.6207, allocations: 1.716 MB / 483.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.6208, allocations: 85.25 kB / 483.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6219, allocations: 0.5388 MB / 483.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.622, allocations: 37.7 kB / 483.9 MB, free: 2.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/0.6225, allocations: 0.6167 MB / 484.5 MB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.6226, allocations: 138.1 kB / 484.6 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.6227, allocations: 19.94 kB / 484.6 MB, free: 1.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6229, allocations: 342.8 kB / 485 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.6234, allocations: 149.9 kB / 485.1 MB, free: 1.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.6243, allocations: 0.4933 MB / 485.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.625, allocations: 234.1 kB / 485.8 MB, free: 284 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.625, allocations: 4 kB / 485.8 MB, free: 280 kB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001833/0.6269, allocations: 0.6733 MB / 486.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.6269, allocations: 8 kB / 486.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.627, allocations: 12 kB / 486.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/0.627, allocations: 24.06 kB / 486.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.6282, allocations: 191.7 kB / 486.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/0.6283, allocations: 27.86 kB / 486.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.6289, allocations: 35.94 kB / 486.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.629, allocations: 40 kB / 486.8 MB, free: 15.26 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0005249/0.6295, allocations: 225.5 kB / 487.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6297, allocations: 83.05 kB / 487.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.6299, allocations: 74.53 kB / 487.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6299, allocations: 4 kB / 487.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6299, allocations: 0 / 487.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.63, allocations: 3.984 kB / 487.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.6332, allocations: 1.299 MB / 488.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6332, allocations: 4 kB / 488.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/0.6341, allocations: 107.9 kB / 488.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.6342, allocations: 4 kB / 488.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.6342, allocations: 15.98 kB / 488.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.6342, allocations: 0 / 488.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6343, allocations: 0 / 488.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.636, allocations: 0.7129 MB / 489.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.6363, allocations: 140.2 kB / 489.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6364, allocations: 8 kB / 489.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.6369, allocations: 32.02 kB / 489.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.637, allocations: 27.92 kB / 489.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.6371, allocations: 8 kB / 489.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007681/0.6379, allocations: 419 kB / 490 MB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6379, allocations: 0 / 490 MB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009631/0.6388, allocations: 139.9 kB / 490.1 MB, free: 11.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0002302/0.6391, allocations: 107.2 kB / 490.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.6405, allocations: 456.9 kB / 490.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6405, allocations: 1.25 kB / 490.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.6411, allocations: 159.8 kB / 490.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.6417, allocations: 67.75 kB / 490.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.6463, allocations: 2.099 MB / 493 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.6471, allocations: 1.023 MB / 494 MB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.6474, allocations: 63.42 kB / 494.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6475, allocations: 0 / 494.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of Templates: time 0.2891/0.9365, allocations: 8.849 MB / 0.4911 GB, free: 102.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches