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.001918/0.001918, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0023/0.0023, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.1 MB, free: 8.973 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 65.42 kB / 307.1 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09842, allocations: 50.54 MB / 357.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005259/0.1037, allocations: 3.725 MB / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1062, allocations: 1.484 MB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1064, allocations: 8 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.1082, allocations: 0.7004 MB / 363.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008645/0.109, allocations: 358.4 kB / 363.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1101, allocations: 0.5128 MB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.1106, allocations: 466 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.1114, allocations: 0.51 MB / 365.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.1117, allocations: 223.2 kB / 365.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.112, allocations: 274.9 kB / 365.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.1121, allocations: 44 kB / 366 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.1125, allocations: 215.8 kB / 366.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.1126, allocations: 107.6 kB / 366.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.1128, allocations: 242.8 kB / 366.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.1135, allocations: 0.5377 MB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1135, allocations: 0 / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1135, allocations: 0 / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1135, allocations: 4 kB / 367 MB, free: 4.742 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.002102/0.1156, allocations: 0.917 MB / 368 MB, free: 3.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1157, allocations: 8.031 kB / 368 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/0.1192, allocations: 463.9 kB / 368.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1196, allocations: 307.7 kB / 368.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.1197, allocations: 45.69 kB / 368.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.1197, allocations: 48.38 kB / 368.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1208, allocations: 0.5337 MB / 369.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1208, allocations: 3.984 kB / 369.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.1209, allocations: 24 kB / 369.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1209, allocations: 15.94 kB / 369.4 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.122, allocations: 0.5751 MB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/0.2715, allocations: 1.965 MB / 371.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.2734, allocations: 2.177 MB / 374.1 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.2741, allocations: 264.2 kB / 374.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.2742, allocations: 174.6 kB / 374.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2742, allocations: 39.42 kB / 374.6 MB, free: 16.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/0.2743, allocations: 0 / 374.6 MB, free: 16.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002512/0.2768, allocations: 0.7474 MB / 375.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.2768, allocations: 58.94 kB / 375.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.2771, allocations: 189.4 kB / 375.6 MB, free: 16.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.2771, allocations: 35.27 kB / 375.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2772, allocations: 220.9 kB / 375.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2774, allocations: 156.8 kB / 376 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.2776, allocations: 89.02 kB / 376.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.2776, allocations: 340.5 kB / 376.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.2781, allocations: 149.7 kB / 376.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.2786, allocations: 242.6 kB / 376.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.2795, allocations: 416.3 kB / 377.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2795, allocations: 1.062 kB / 377.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001019/0.2805, allocations: 0.5385 MB / 377.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2806, allocations: 9.266 kB / 377.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2806, allocations: 2.75 kB / 377.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.2809, allocations: 83.89 kB / 377.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.2813, allocations: 99.05 kB / 377.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.2828, allocations: 1.77 MB / 379.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.283, allocations: 49.2 kB / 379.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2831, allocations: 21.36 kB / 379.7 MB, free: 13.62 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 (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.00016/0.2833, allocations: 166.2 kB / 379.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.2833, allocations: 28.66 kB / 379.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2844, allocations: 0.5419 MB / 380.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2844, allocations: 5.875 kB / 380.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2844, allocations: 5.469 kB / 380.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2844, allocations: 2.766 kB / 380.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.286, allocations: 1.154 MB / 381.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.286, allocations: 4.594 kB / 381.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.2864, allocations: 79.66 kB / 381.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.2866, allocations: 84.16 kB / 381.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.2867, allocations: 13.11 kB / 381.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.2879, allocations: 1.763 MB / 383.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.288, allocations: 1.625 kB / 383.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2892, allocations: 0.8116 MB / 384.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2892, allocations: 107.6 kB / 384.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.2893, allocations: 15.14 kB / 384.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2895, allocations: 16.14 kB / 384.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.2896, allocations: 40.73 kB / 384.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.2896, allocations: 11.95 kB / 384.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.2897, allocations: 134.5 kB / 384.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2897, allocations: 0 / 384.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.2903, allocations: 154.1 kB / 384.9 MB, free: 10.2 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 (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.0002089/0.2905, allocations: 140.8 kB / 385 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2915, allocations: 0.5881 MB / 385.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2916, allocations: 1.531 kB / 385.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.2921, allocations: 389 kB / 386 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2925, allocations: 32.61 kB / 386 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2937, allocations: 1.044 MB / 387.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2939, allocations: 0.8087 MB / 387.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2941, allocations: 43.5 kB / 387.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2941, allocations: 0 / 387.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of Templates: time 0.008812/0.3029, allocations: 6.364 MB / 394.3 MB, free: 6.375 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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