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.001502/0.001502, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001768, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 50.54 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003586/0.2349, allocations: 2.913 MB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.236, allocations: 0.701 MB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2361, allocations: 11.94 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2363, allocations: 59.42 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2365, allocations: 95.19 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.2367, allocations: 83.83 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.2371, allocations: 378.5 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2373, allocations: 157.3 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.2376, allocations: 147.5 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2377, allocations: 159.3 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.2378, allocations: 32 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.2379, allocations: 32 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.2379, allocations: 71.7 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.2381, allocations: 171.2 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.2384, allocations: 383.7 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2384, allocations: 0 / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2384, allocations: 0 / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2384, allocations: 0 / 415.3 MB, free: 12.19 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.0008741/0.2393, allocations: 0.6121 MB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2394, allocations: 8.031 kB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.2394, allocations: 36.56 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2397, allocations: 259.7 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2398, allocations: 25.03 kB / 416.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2398, allocations: 32.38 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.2404, allocations: 274.4 kB / 416.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2404, allocations: 3.984 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.2404, allocations: 19.94 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2404, allocations: 12 kB / 416.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.2409, allocations: 198.5 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2423, allocations: 0.9674 MB / 417.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.2426, allocations: 162.5 kB / 417.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2428, allocations: 80.81 kB / 418 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2428, allocations: 4 kB / 418 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2428, allocations: 34.56 kB / 418 MB, free: 9.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2428, allocations: 3.938 kB / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005293/0.2434, allocations: 209.5 kB / 418.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2434, allocations: 59.41 kB / 418.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2436, allocations: 210.7 kB / 418.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2436, allocations: 33.7 kB / 418.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2437, allocations: 195.9 kB / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2438, allocations: 67.08 kB / 418.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.2439, allocations: 49.7 kB / 418.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.244, allocations: 326.8 kB / 419.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2442, allocations: 67.95 kB / 419.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2444, allocations: 114 kB / 419.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.2447, allocations: 181.9 kB / 419.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2447, allocations: 4 kB / 419.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004467/0.2452, allocations: 249 kB / 419.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2452, allocations: 12.12 kB / 419.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2452, allocations: 0 / 419.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2452, allocations: 4 kB / 419.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.2455, allocations: 63.91 kB / 419.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2455, allocations: 3.984 kB / 419.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2457, allocations: 23.84 kB / 419.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2457, allocations: 4 kB / 419.9 MB, free: 7.348 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.0001254/0.2459, allocations: 141.7 kB / 420 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.2459, allocations: 35.59 kB / 420 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.2463, allocations: 189.7 kB / 420.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2463, allocations: 7.984 kB / 420.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2463, allocations: 0 / 420.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.2464, allocations: 96.86 kB / 420.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2464, allocations: 4 kB / 420.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.2466, allocations: 19.98 kB / 420.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2467, allocations: 11.98 kB / 420.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006615/0.2473, allocations: 284.7 kB / 420.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006311/0.248, allocations: 445 kB / 421.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001616/0.2482, allocations: 75.95 kB / 421.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2483, allocations: 144.6 kB / 421.3 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2483, allocations: 3.938 kB / 421.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.2488, allocations: 194.2 kB / 421.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of SimCode: time 0.001243/0.2501, allocations: 1.255 MB / 422.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Templates: time 0.005051/0.2552, allocations: 2.431 MB / 425.2 MB, free: 1.957 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