Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 209.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2482, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004845/0.2531, allocations: 3.706 MB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2557, allocations: 1.483 MB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.2561, allocations: 8 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.2579, allocations: 0.7389 MB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.259, allocations: 393.6 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2601, allocations: 0.5521 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.2607, allocations: 466 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.2614, allocations: 465.6 kB / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.2618, allocations: 219.2 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.2622, allocations: 278.9 kB / 418.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.517e-05/0.2622, allocations: 44 kB / 418.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.2627, allocations: 211.9 kB / 418.4 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.2628, allocations: 115.6 kB / 418.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.263, allocations: 234.9 kB / 418.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008085/0.2638, allocations: 0.7021 MB / 419.5 MB, free: 8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2638, allocations: 0 / 419.5 MB, free: 8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2638, allocations: 0 / 419.5 MB, free: 8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2638, allocations: 0 / 419.5 MB, free: 8 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002099/0.266, allocations: 0.9209 MB / 420.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.266, allocations: 8.031 kB / 420.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.2696, allocations: 500 kB / 420.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.2702, allocations: 307.2 kB / 421.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.2702, allocations: 41.69 kB / 421.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.2703, allocations: 52.38 kB / 421.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.2714, allocations: 0.5298 MB / 421.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2714, allocations: 4 kB / 421.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.2715, allocations: 20 kB / 421.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2715, allocations: 16 kB / 421.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2726, allocations: 0.5751 MB / 422.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.2755, allocations: 1.938 MB / 424.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.2777, allocations: 2.181 MB / 426.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.2782, allocations: 262.1 kB / 426.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.2784, allocations: 178.6 kB / 427 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.2785, allocations: 39 kB / 427 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.2785, allocations: 4 kB / 427 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001833/0.2803, allocations: 0.7387 MB / 427.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2804, allocations: 55.84 kB / 427.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2806, allocations: 198.2 kB / 428 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.2806, allocations: 29.7 kB / 428.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2808, allocations: 212.5 kB / 428.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2809, allocations: 165.6 kB / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.281, allocations: 78.25 kB / 428.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2812, allocations: 342.8 kB / 428.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2815, allocations: 149 kB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.2818, allocations: 238.6 kB / 429.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.2825, allocations: 416.8 kB / 429.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2825, allocations: 8 kB / 429.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009916/0.2835, allocations: 0.5356 MB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2835, allocations: 8 kB / 430.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2835, allocations: 4 kB / 430.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.2839, allocations: 72.81 kB / 430.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.2843, allocations: 95.88 kB / 430.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.286, allocations: 1.783 MB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.2863, allocations: 47.52 kB / 432.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2864, allocations: 20 kB / 432.2 MB, free: 10.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.2866, allocations: 169.7 kB / 432.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.2867, allocations: 27.62 kB / 432.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.2877, allocations: 0.5357 MB / 432.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2878, allocations: 8 kB / 432.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2878, allocations: 4 kB / 432.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.2878, allocations: 3.984 kB / 432.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.2895, allocations: 1.148 MB / 434.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2895, allocations: 3.938 kB / 434.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.2898, allocations: 83.89 kB / 434.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.2901, allocations: 72.81 kB / 434.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2902, allocations: 12 kB / 434.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.2918, allocations: 1.762 MB / 436 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2918, allocations: 0 / 436 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2931, allocations: 0.8028 MB / 436.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.2932, allocations: 108.7 kB / 436.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.2933, allocations: 12 kB / 436.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.2935, allocations: 19.97 kB / 436.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.2936, allocations: 40.39 kB / 437 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2936, allocations: 11.94 kB / 437 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2938, allocations: 143.3 kB / 437.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2938, allocations: 3.938 kB / 437.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.2943, allocations: 151.5 kB / 437.3 MB, free: 4.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.2946, allocations: 135.2 kB / 437.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.2957, allocations: 0.574 MB / 438 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2957, allocations: 0 / 438 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.2963, allocations: 388.9 kB / 438.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2966, allocations: 31.98 kB / 438.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.298, allocations: 0.8385 MB / 439.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2984, allocations: 0.8083 MB / 440.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2985, allocations: 35.42 kB / 440.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2985, allocations: 0 / 440.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Templates: time 0.009095/0.3076, allocations: 6.367 MB / 446.5 MB, free: 11.71 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches