Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 106.3 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002133, allocations: 213.8 kB / 18.92 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 64.69 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.107, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007418/0.1145, allocations: 5.379 MB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.1175, allocations: 1.5 MB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1179, allocations: 27.88 kB / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1184, allocations: 166.6 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.1189, allocations: 158.6 kB / 364.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1196, allocations: 359.6 kB / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1209, allocations: 1.126 MB / 366.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006881/0.1216, allocations: 484.2 kB / 366.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.1221, allocations: 406.2 kB / 367.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1226, allocations: 433.5 kB / 367.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.1227, allocations: 84 kB / 367.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1229, allocations: 99.94 kB / 367.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1231, allocations: 219 kB / 368.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.1236, allocations: 0.4893 MB / 368.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.1245, allocations: 0.8847 MB / 369.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1245, allocations: 0 / 369.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1245, allocations: 0 / 369.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1245, allocations: 0 / 369.4 MB, free: 2.551 MB / 302.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.001978/0.1265, allocations: 1.321 MB / 370.8 MB, free: 1.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1266, allocations: 8.031 kB / 370.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.1269, allocations: 146.4 kB / 370.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.1278, allocations: 0.6224 MB / 371.5 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1279, allocations: 77.94 kB / 371.6 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.1281, allocations: 96 kB / 371.7 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.169/0.297, allocations: 1.025 MB / 372.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.2971, allocations: 5.297 kB / 372.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.2972, allocations: 44.09 kB / 372.8 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2973, allocations: 35.03 kB / 372.8 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2985, allocations: 0.5488 MB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.3034, allocations: 5.523 MB / 378.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.304, allocations: 234.5 kB / 379.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.3043, allocations: 160 kB / 379.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.3045, allocations: 91.09 kB / 379.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3045, allocations: 33.31 kB / 379.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.806e-06/0.3046, allocations: 0 / 379.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00382/0.3084, allocations: 1.71 MB / 381.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3085, allocations: 86.72 kB / 381.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.3092, allocations: 0.6431 MB / 381.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3092, allocations: 32.2 kB / 381.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.3096, allocations: 0.6001 MB / 382.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.3097, allocations: 148.6 kB / 382.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3099, allocations: 134.8 kB / 382.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.31, allocations: 385.9 kB / 383.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.3103, allocations: 150.8 kB / 383.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.3108, allocations: 499.3 kB / 383.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.3116, allocations: 0.7119 MB / 384.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.3116, allocations: 5.156 kB / 384.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001271/0.3129, allocations: 0.7038 MB / 385.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3129, allocations: 12.06 kB / 385.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.3129, allocations: 15.28 kB / 385.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.313, allocations: 21.44 kB / 385.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.3136, allocations: 193.5 kB / 385.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.3137, allocations: 23.28 kB / 385.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.3141, allocations: 33.17 kB / 385.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.3141, allocations: 42.39 kB / 385.5 MB, free: 10.89 MB / 302.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.0003317/0.3145, allocations: 229.4 kB / 385.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3146, allocations: 80.02 kB / 385.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3147, allocations: 74.83 kB / 385.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3147, allocations: 8.609 kB / 385.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3147, allocations: 1.219 kB / 385.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3147, allocations: 2.109 kB / 385.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.3169, allocations: 1.333 MB / 387.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3169, allocations: 6.219 kB / 387.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.3175, allocations: 98.3 kB / 387.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.3175, allocations: 4.172 kB / 387.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.3175, allocations: 16.59 kB / 387.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.3175, allocations: 4.734 kB / 387.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3175, allocations: 2.469 kB / 387.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.3185, allocations: 0.7034 MB / 388.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.3186, allocations: 138.3 kB / 388.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.3187, allocations: 16.8 kB / 388.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.319, allocations: 21.39 kB / 388.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.3191, allocations: 31.28 kB / 388.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3191, allocations: 14.67 kB / 388.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005101/0.3196, allocations: 422.6 kB / 388.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3196, allocations: 0 / 388.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008046/0.3204, allocations: 141.4 kB / 388.8 MB, free: 9.043 MB / 302.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.0001367/0.3206, allocations: 110.9 kB / 388.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008384/0.3214, allocations: 447.8 kB / 389.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3214, allocations: 5.219 kB / 389.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.3217, allocations: 159.5 kB / 389.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3223, allocations: 71.64 kB / 389.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3251, allocations: 2.148 MB / 391.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.3257, allocations: 1.005 MB / 392.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3258, allocations: 73.02 kB / 392.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3259, allocations: 0 / 392.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01547/0.3413, allocations: 9.262 MB / 402.1 MB, free: 1.895 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches