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.001483/0.001483, allocations: 112.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 50.56 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006341/0.3389, allocations: 5.382 MB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3418, allocations: 1.519 MB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.3423, allocations: 27.88 kB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.3429, allocations: 221.8 kB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.3434, allocations: 198 kB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.3442, allocations: 415.3 kB / 417.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3453, allocations: 1.126 MB / 418.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.3459, allocations: 480.2 kB / 419.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.3464, allocations: 398.3 kB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.3469, allocations: 441.5 kB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.347, allocations: 84 kB / 420.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3472, allocations: 100 kB / 420.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.3474, allocations: 215.1 kB / 420.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.3478, allocations: 0.4932 MB / 421 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3489, allocations: 1.184 MB / 422.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.349, allocations: 0 / 422.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.349, allocations: 0 / 422.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.349, allocations: 3.938 kB / 422.2 MB, free: 5.266 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.001953/0.351, allocations: 1.313 MB / 423.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.351, allocations: 12.03 kB / 423.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.3514, allocations: 146.5 kB / 423.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3526, allocations: 0.6536 MB / 424.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.3526, allocations: 77.94 kB / 424.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3528, allocations: 99.91 kB / 424.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3543, allocations: 1.031 MB / 425.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.3544, allocations: 7.938 kB / 425.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.3545, allocations: 48 kB / 425.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3545, allocations: 27.98 kB / 425.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3555, allocations: 0.55 MB / 426.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.3604, allocations: 5.481 MB / 431.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.3609, allocations: 236.9 kB / 431.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3613, allocations: 165.6 kB / 432 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3614, allocations: 85.09 kB / 432.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3615, allocations: 42.5 kB / 432.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.376e-06/0.3615, allocations: 0 / 432.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003817/0.3653, allocations: 1.72 MB / 433.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3654, allocations: 85.09 kB / 434 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.3661, allocations: 0.6411 MB / 434.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3661, allocations: 29.7 kB / 434.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.3665, allocations: 0.6026 MB / 435.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3666, allocations: 138 kB / 435.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3668, allocations: 138.5 kB / 435.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3669, allocations: 386.8 kB / 435.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.3672, allocations: 157.8 kB / 436 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.3677, allocations: 497.1 kB / 436.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.3686, allocations: 0.7065 MB / 437.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3686, allocations: 4 kB / 437.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001071/0.3697, allocations: 0.7192 MB / 438 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3697, allocations: 8 kB / 438 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3697, allocations: 12 kB / 438 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.3697, allocations: 16 kB / 438 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.3704, allocations: 195.7 kB / 438.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.3704, allocations: 28.2 kB / 438.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3708, allocations: 35.98 kB / 438.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3708, allocations: 40 kB / 438.3 MB, free: 4.133 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.000261/0.3711, allocations: 225.5 kB / 438.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3712, allocations: 75.06 kB / 438.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3713, allocations: 78.58 kB / 438.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3713, allocations: 4 kB / 438.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3713, allocations: 3.984 kB / 438.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3715, allocations: 136.1 kB / 438.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.3715, allocations: 16 kB / 438.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.3718, allocations: 19.98 kB / 438.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.3719, allocations: 27.95 kB / 438.9 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000929/0.3728, allocations: 0.5185 MB / 439.4 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009782/0.3738, allocations: 0.7662 MB / 440.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002478/0.3741, allocations: 138.8 kB / 440.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005013/0.3746, allocations: 435 kB / 440.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Backend: time 7.92e-07/0.3746, allocations: 0 / 440.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3756, allocations: 420.4 kB / 441.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of SimCode: time 0.002684/0.3783, allocations: 2.073 MB / 443.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01244/0.3908, allocations: 5.732 MB / 448.9 MB, free: 9.398 MB / 366.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.0.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