Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 109.8 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.001239/0.001239, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2337, allocations: 50.53 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003652/0.2374, allocations: 2.913 MB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2386, allocations: 0.7049 MB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2388, allocations: 8 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.239, allocations: 63.36 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2392, allocations: 87.2 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2394, allocations: 91.81 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.2398, allocations: 370.5 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.24, allocations: 165.3 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.2403, allocations: 147.5 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.2405, allocations: 151.3 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.2405, allocations: 32 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.2406, allocations: 32 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.2406, allocations: 75.73 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.2408, allocations: 175.1 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.2411, allocations: 379.7 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2411, allocations: 0 / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2411, allocations: 4 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2411, allocations: 0 / 415.3 MB, free: 12.18 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008633/0.242, allocations: 0.6082 MB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2421, allocations: 8.031 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.2421, allocations: 36.56 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2424, allocations: 263.7 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2424, allocations: 21.03 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2425, allocations: 40.31 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.243, allocations: 274.4 kB / 416.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.243, allocations: 0 / 416.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.2431, allocations: 12 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.2431, allocations: 8 kB / 416.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.2435, allocations: 210.4 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2449, allocations: 0.9674 MB / 417.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.2452, allocations: 161.6 kB / 417.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2454, allocations: 80.77 kB / 418 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2454, allocations: 8 kB / 418 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2454, allocations: 34.55 kB / 418 MB, free: 9.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.2454, allocations: 3.938 kB / 418 MB, free: 9.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005342/0.246, allocations: 209.5 kB / 418.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.246, allocations: 51.41 kB / 418.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2462, allocations: 218.7 kB / 418.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2463, allocations: 33.7 kB / 418.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2464, allocations: 192 kB / 418.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.2464, allocations: 63.09 kB / 418.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.2465, allocations: 49.7 kB / 418.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2466, allocations: 334.8 kB / 419.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2468, allocations: 59.97 kB / 419.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.247, allocations: 126 kB / 419.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.2473, allocations: 181.8 kB / 419.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2473, allocations: 4 kB / 419.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004494/0.2478, allocations: 245 kB / 419.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2478, allocations: 8 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2478, allocations: 0 / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2478, allocations: 4.125 kB / 419.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.2481, allocations: 67.91 kB / 419.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2481, allocations: 0 / 419.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2483, allocations: 27.83 kB / 419.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2483, allocations: 4 kB / 419.9 MB, free: 7.332 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001192/0.2484, allocations: 145.7 kB / 420 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.2485, allocations: 31.59 kB / 420 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2489, allocations: 189.7 kB / 420.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2489, allocations: 3.938 kB / 420.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2489, allocations: 0 / 420.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.249, allocations: 100.9 kB / 420.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.249, allocations: 0 / 420.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2492, allocations: 15.98 kB / 420.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.2492, allocations: 19.92 kB / 420.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006322/0.2499, allocations: 284.7 kB / 420.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005949/0.2505, allocations: 441.2 kB / 421.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001644/0.2507, allocations: 75.91 kB / 421.1 MB, free: 6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.2508, allocations: 152.6 kB / 421.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.2508, allocations: 0 / 421.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.2513, allocations: 186.2 kB / 421.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.001278/0.2526, allocations: 1.255 MB / 422.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Templates: time 0.005551/0.2582, allocations: 2.439 MB / 425.2 MB, free: 1.941 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches