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.001053/0.001053, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002052, allocations: 4 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.0911, allocations: 51.54 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004771/0.0959, allocations: 3.136 MB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.09833, allocations: 1.36 MB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.09863, allocations: 12 kB / 363.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.09914, allocations: 123.4 kB / 363.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1002, allocations: 310.7 kB / 363.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.1011, allocations: 473.6 kB / 364 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.1017, allocations: 418 kB / 364.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.1031, allocations: 0.7112 MB / 365.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.1036, allocations: 171.3 kB / 365.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.1039, allocations: 223 kB / 365.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.104, allocations: 20 kB / 365.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.1045, allocations: 187.8 kB / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.1046, allocations: 79.61 kB / 365.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1047, allocations: 97.52 kB / 365.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.1053, allocations: 0.5183 MB / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1053, allocations: 0 / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1053, allocations: 0 / 366.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1053, allocations: 4 kB / 366.4 MB, free: 5.586 MB / 302.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.002009/0.1074, allocations: 0.831 MB / 367.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1074, allocations: 8.031 kB / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.1108, allocations: 0.4911 MB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1112, allocations: 302.3 kB / 368.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.1113, allocations: 41.31 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.1114, allocations: 59.95 kB / 368.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.1123, allocations: 0.5219 MB / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1124, allocations: 0 / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.1124, allocations: 24 kB / 368.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.1124, allocations: 19.94 kB / 368.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.1134, allocations: 0.579 MB / 369.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.1162, allocations: 1.954 MB / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1634/0.2796, allocations: 2.174 MB / 373.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.2803, allocations: 262.4 kB / 373.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.2804, allocations: 173.4 kB / 373.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2805, allocations: 36.8 kB / 373.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.2805, allocations: 3.031 kB / 373.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001728/0.2822, allocations: 0.7536 MB / 374.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2823, allocations: 56.89 kB / 374.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2824, allocations: 186.8 kB / 374.9 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2825, allocations: 34.7 kB / 374.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2826, allocations: 221.5 kB / 375.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2827, allocations: 157.4 kB / 375.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.2827, allocations: 12.53 kB / 375.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.2828, allocations: 334.9 kB / 375.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.2832, allocations: 159.4 kB / 375.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.2836, allocations: 244.9 kB / 376 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.2841, allocations: 184.9 kB / 376.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2841, allocations: 0.875 kB / 376.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001186/0.2853, allocations: 0.5418 MB / 376.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2853, allocations: 11.34 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2854, allocations: 2.031 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.2858, allocations: 84.14 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.2862, allocations: 100.6 kB / 376.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.2879, allocations: 1.646 MB / 378.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.2881, allocations: 49.72 kB / 378.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2882, allocations: 19.22 kB / 378.7 MB, free: 14.07 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.2884, allocations: 166.2 kB / 378.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.2884, allocations: 29.66 kB / 378.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.2894, allocations: 0.5486 MB / 379.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2894, allocations: 4.125 kB / 379.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2895, allocations: 6.172 kB / 379.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2895, allocations: 7.438 kB / 379.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2911, allocations: 1.141 MB / 380.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2912, allocations: 5.516 kB / 380.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.2915, allocations: 81.23 kB / 380.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.2917, allocations: 77.64 kB / 380.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2918, allocations: 13.97 kB / 380.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.293, allocations: 1.639 MB / 382.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.293, allocations: 6.312 kB / 382.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2942, allocations: 0.81 MB / 383.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.2943, allocations: 111.8 kB / 383.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.2943, allocations: 16.41 kB / 383.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.2945, allocations: 18.39 kB / 383.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.2946, allocations: 40.52 kB / 383.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.2947, allocations: 14.8 kB / 383.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.2948, allocations: 138.5 kB / 383.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2948, allocations: 0 / 383.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.2953, allocations: 147.7 kB / 383.7 MB, free: 10.75 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.2956, allocations: 136.7 kB / 383.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.2966, allocations: 0.5739 MB / 384.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2966, allocations: 0 / 384.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.2971, allocations: 389 kB / 384.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2975, allocations: 39.22 kB / 384.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2987, allocations: 1.028 MB / 385.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.299, allocations: 0.8094 MB / 386.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.2992, allocations: 46.06 kB / 386.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.2993, allocations: 29.98 kB / 386.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2993, allocations: 1.125 kB / 386.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of Templates: time 0.008426/0.3077, allocations: 3.932 MB / 390.6 MB, free: 8.461 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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