Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.4 MB / 250 MB, free: 8.977 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.84 kB / 367.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2666, allocations: 53.31 MB / 420.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007076/0.2737, allocations: 5.409 MB / 426.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.2767, allocations: 1.527 MB / 427.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.2771, allocations: 23.88 kB / 427.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.2777, allocations: 225.7 kB / 427.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.2782, allocations: 186 kB / 428 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.2791, allocations: 419.3 kB / 428.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2803, allocations: 1.123 MB / 429.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.2809, allocations: 340.3 kB / 429.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.2814, allocations: 402.3 kB / 430.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.2819, allocations: 441.5 kB / 430.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.282, allocations: 84 kB / 430.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.2823, allocations: 104 kB / 430.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.2825, allocations: 211.1 kB / 431.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.2829, allocations: 0.4931 MB / 431.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2842, allocations: 1.189 MB / 432.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2842, allocations: 3.984 kB / 432.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2842, allocations: 0 / 432.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2842, allocations: 0 / 432.8 MB, free: 12.12 MB / 350.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.001942/0.2861, allocations: 1.357 MB / 434.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2862, allocations: 8.031 kB / 434.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.2865, allocations: 151.1 kB / 434.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2876, allocations: 0.6698 MB / 435 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.2876, allocations: 77.94 kB / 435.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.2878, allocations: 96 kB / 435.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2894, allocations: 1.027 MB / 436.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.2895, allocations: 15.83 kB / 436.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.2896, allocations: 44 kB / 436.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.2896, allocations: 28 kB / 436.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2908, allocations: 0.5578 MB / 436.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.2965, allocations: 5.494 MB / 442.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.2971, allocations: 217 kB / 442.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.2974, allocations: 149.6 kB / 442.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.2975, allocations: 93.05 kB / 442.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2975, allocations: 34.56 kB / 442.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.2975, allocations: 0 / 442.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004051/0.3016, allocations: 1.739 MB / 444.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3017, allocations: 84.86 kB / 444.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007699/0.3024, allocations: 0.649 MB / 445.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3025, allocations: 33.7 kB / 445.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.3029, allocations: 0.62 MB / 445.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.303, allocations: 154.7 kB / 446.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3032, allocations: 138.5 kB / 446.2 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3034, allocations: 382.8 kB / 446.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.3038, allocations: 153.9 kB / 446.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.3044, allocations: 0.4893 MB / 447.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.3054, allocations: 0.7027 MB / 447.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3054, allocations: 4 kB / 447.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001204/0.3066, allocations: 0.7121 MB / 448.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3066, allocations: 12.19 kB / 448.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3066, allocations: 16 kB / 448.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.3066, allocations: 16 kB / 448.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.3073, allocations: 195.6 kB / 448.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.3073, allocations: 23.92 kB / 448.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.3077, allocations: 35.98 kB / 448.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.3077, allocations: 40 kB / 449 MB, free: 10.9 MB / 366.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.0003136/0.308, allocations: 233.4 kB / 449.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3082, allocations: 79.48 kB / 449.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3083, allocations: 78.58 kB / 449.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3083, allocations: 7.938 kB / 449.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3083, allocations: 0 / 449.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3083, allocations: 11.97 kB / 449.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3105, allocations: 1.309 MB / 450.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3105, allocations: 7.984 kB / 450.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.311, allocations: 104 kB / 450.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.311, allocations: 3.938 kB / 450.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.311, allocations: 15.98 kB / 450.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.311, allocations: 7.938 kB / 450.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.311, allocations: 4 kB / 450.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3121, allocations: 0.7013 MB / 451.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3123, allocations: 144.6 kB / 451.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3123, allocations: 20 kB / 451.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.3126, allocations: 19.98 kB / 451.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.3127, allocations: 27.95 kB / 451.7 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3128, allocations: 16 kB / 451.8 MB, free: 7.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000518/0.3133, allocations: 423 kB / 452.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3133, allocations: 0 / 452.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006468/0.3139, allocations: 140 kB / 452.3 MB, free: 7.441 MB / 366.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.0001543/0.3141, allocations: 115.1 kB / 452.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008045/0.3149, allocations: 418.2 kB / 452.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3149, allocations: 0 / 452.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.3152, allocations: 147.3 kB / 453 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.3157, allocations: 67.31 kB / 453 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3186, allocations: 1.702 MB / 454.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.3193, allocations: 1.004 MB / 455.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.3196, allocations: 94.05 kB / 455.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3197, allocations: 71.41 kB / 455.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3197, allocations: 0 / 455.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01268/0.3324, allocations: 5.171 MB / 461.1 MB, free: 14.6 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches