Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 108.7 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009434/0.0009434, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2357, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006056/0.2417, allocations: 5.382 MB / 406.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2444, allocations: 1.43 MB / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.245, allocations: 27.81 kB / 408.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.2457, allocations: 221.8 kB / 408.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008066/0.2465, allocations: 198 kB / 408.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.2474, allocations: 391.4 kB / 409.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2487, allocations: 1.126 MB / 410.2 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007478/0.2495, allocations: 484.2 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.2501, allocations: 398.3 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.2506, allocations: 433.6 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.2507, allocations: 80 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.251, allocations: 103.9 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2512, allocations: 215.1 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.2516, allocations: 0.4932 MB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.2527, allocations: 1.176 MB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2527, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2527, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.2527, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.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.001915/0.2547, allocations: 1.305 MB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2547, allocations: 11.89 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.2549, allocations: 134.4 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/0.2559, allocations: 0.642 MB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.256, allocations: 77.94 kB / 415.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2561, allocations: 103.9 kB / 415.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.2577, allocations: 1.031 MB / 416.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.2578, allocations: 3.938 kB / 416.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.2579, allocations: 44 kB / 416.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.2579, allocations: 28 kB / 416.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.259, allocations: 0.5578 MB / 417.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.2636, allocations: 5.489 MB / 423 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.2642, allocations: 232.3 kB / 423.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2645, allocations: 157.6 kB / 423.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.2646, allocations: 93.09 kB / 423.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2646, allocations: 34.56 kB / 423.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.2647, allocations: 4 kB / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003803/0.2685, allocations: 1.705 MB / 425.2 MB, free: 444 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2685, allocations: 89.05 kB / 425.3 MB, free: 336 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.2692, allocations: 0.6412 MB / 425.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2693, allocations: 29.7 kB / 425.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.2697, allocations: 0.6025 MB / 426.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2698, allocations: 146 kB / 426.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.27, allocations: 134.5 kB / 426.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2701, allocations: 382.8 kB / 427.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.2705, allocations: 153.9 kB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.271, allocations: 0.4894 MB / 427.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.2719, allocations: 0.7099 MB / 428.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2719, allocations: 8 kB / 428.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00114/0.273, allocations: 0.7077 MB / 429.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2731, allocations: 12.22 kB / 429.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.2731, allocations: 12 kB / 429.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.2731, allocations: 16 kB / 429.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.2738, allocations: 195.7 kB / 429.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.2738, allocations: 31.86 kB / 429.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.2742, allocations: 31.98 kB / 429.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.2742, allocations: 36 kB / 429.6 MB, free: 11.64 MB / 350.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.0002671/0.2745, allocations: 229.5 kB / 429.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.2746, allocations: 75.06 kB / 429.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.2748, allocations: 74.53 kB / 429.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2748, allocations: 3.984 kB / 429.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2748, allocations: 4 kB / 429.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.2749, allocations: 144.1 kB / 430.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.275, allocations: 8 kB / 430.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.2753, allocations: 23.98 kB / 430.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.2753, allocations: 27.95 kB / 430.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009421/0.2763, allocations: 0.5143 MB / 430.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00101/0.2773, allocations: 0.7662 MB / 431.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002768/0.2776, allocations: 147.9 kB / 431.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.2781, allocations: 419 kB / 432 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Backend: time 8.21e-07/0.2781, allocations: 0 / 432 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.279, allocations: 411.5 kB / 432.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of SimCode: time 0.002507/0.2815, allocations: 2.077 MB / 434.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01225/0.2938, allocations: 5.674 MB / 440.1 MB, free: 0.9805 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches