Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 206.8 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.514/1.514, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2794, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003754/0.2832, allocations: 2.913 MB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2843, allocations: 0.7049 MB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2845, allocations: 4 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.2847, allocations: 63.38 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2848, allocations: 79.2 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2851, allocations: 99.86 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.2854, allocations: 378.9 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.2857, allocations: 164.5 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.286, allocations: 151.5 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2862, allocations: 155.3 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.2862, allocations: 36 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.263e-05/0.2863, allocations: 32 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.2863, allocations: 75.75 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2865, allocations: 175.1 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.2869, allocations: 387.7 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2869, allocations: 4 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2869, allocations: 0 / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2869, allocations: 0 / 415.3 MB, free: 12.17 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.0009257/0.2878, allocations: 0.6238 MB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2879, allocations: 8.031 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.2879, allocations: 32.56 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.2883, allocations: 259.7 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2884, allocations: 29.02 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.2884, allocations: 36.3 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.2889, allocations: 282.4 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2889, allocations: 4 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.289, allocations: 16 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.289, allocations: 8 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.2894, allocations: 210.5 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.2909, allocations: 1.022 MB / 417.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.2912, allocations: 166.5 kB / 418 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.2915, allocations: 124.8 kB / 418.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2915, allocations: 7.922 kB / 418.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2916, allocations: 34.56 kB / 418.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.2916, allocations: 0 / 418.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005406/0.2921, allocations: 235.9 kB / 418.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2922, allocations: 55.41 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2924, allocations: 215.1 kB / 418.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2924, allocations: 29.7 kB / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2925, allocations: 192 kB / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.2926, allocations: 74.91 kB / 419 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.2926, allocations: 45.98 kB / 419 MB, free: 8.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2928, allocations: 330.8 kB / 419.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2929, allocations: 72.52 kB / 419.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2931, allocations: 143.4 kB / 419.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.2935, allocations: 221.2 kB / 419.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2936, allocations: 7.938 kB / 419.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004412/0.294, allocations: 269 kB / 420 MB, free: 7.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.294, allocations: 4.25 kB / 420 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.294, allocations: 8 kB / 420 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2941, allocations: 4 kB / 420 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.2943, allocations: 75.89 kB / 420.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2944, allocations: 7.938 kB / 420.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2945, allocations: 31.67 kB / 420.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2945, allocations: 12 kB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001199/0.2947, allocations: 141.8 kB / 420.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.2947, allocations: 23.75 kB / 420.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.2952, allocations: 200.5 kB / 420.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2952, allocations: 7.984 kB / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2952, allocations: 0 / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2953, allocations: 96.77 kB / 420.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2953, allocations: 8 kB / 420.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2955, allocations: 19.92 kB / 420.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2955, allocations: 15.92 kB / 420.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006539/0.2962, allocations: 300.3 kB / 421 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000635/0.2968, allocations: 450.8 kB / 421.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001584/0.297, allocations: 75.94 kB / 421.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.2971, allocations: 152.7 kB / 421.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2972, allocations: 0 / 421.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.2978, allocations: 198.2 kB / 421.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of SimCode: time 0.001412/0.2992, allocations: 1.256 MB / 423.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of Templates: time 0.006023/0.3052, allocations: 2.506 MB / 425.6 MB, free: 1.523 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches