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.001566/0.001566, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001986, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 246.9 MB, free: 8.918 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 62.33 kB / 306.9 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08697, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004927/0.09193, allocations: 3.728 MB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.09464, allocations: 1.484 MB / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.09504, allocations: 8 kB / 362.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.09697, allocations: 0.708 MB / 363.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.0981, allocations: 346.5 kB / 363.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.09922, allocations: 0.5323 MB / 364.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.09986, allocations: 446 kB / 364.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.1007, allocations: 426.5 kB / 365.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.1011, allocations: 203.2 kB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.1015, allocations: 266.9 kB / 365.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1016, allocations: 32 kB / 365.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.1021, allocations: 211.8 kB / 365.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.1022, allocations: 91.61 kB / 365.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.1024, allocations: 234.8 kB / 366.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.103, allocations: 0.5377 MB / 366.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.103, allocations: 0 / 366.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.103, allocations: 0 / 366.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1031, allocations: 0 / 366.6 MB, free: 5.035 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.002244/0.1053, allocations: 0.9171 MB / 367.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1054, allocations: 15.97 kB / 367.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.1089, allocations: 495.9 kB / 368.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1093, allocations: 303.7 kB / 368.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.1094, allocations: 41.69 kB / 368.4 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1095, allocations: 52.38 kB / 368.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1105, allocations: 0.522 MB / 369 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1106, allocations: 3.984 kB / 369 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.1106, allocations: 20 kB / 369 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1106, allocations: 12 kB / 369 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1117, allocations: 0.5829 MB / 369.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1543/0.266, allocations: 1.955 MB / 371.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.2681, allocations: 2.174 MB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.2687, allocations: 261.3 kB / 374 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2689, allocations: 174.7 kB / 374.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.269, allocations: 39.8 kB / 374.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.918e-06/0.269, allocations: 5.578 kB / 374.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001927/0.2709, allocations: 0.7364 MB / 374.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.271, allocations: 60.97 kB / 375 MB, free: 17.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.2712, allocations: 192.7 kB / 375.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.2712, allocations: 35.64 kB / 375.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2714, allocations: 217 kB / 375.4 MB, free: 16.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.2715, allocations: 160.9 kB / 375.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2716, allocations: 84.84 kB / 375.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.2717, allocations: 335.6 kB / 376 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.2721, allocations: 157.1 kB / 376.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.2724, allocations: 234 kB / 376.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.2731, allocations: 421.2 kB / 376.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2731, allocations: 4.562 kB / 376.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001087/0.2742, allocations: 0.5379 MB / 377.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2742, allocations: 6.969 kB / 377.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2742, allocations: 3.344 kB / 377.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.2746, allocations: 80.47 kB / 377.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.275, allocations: 97.64 kB / 377.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.2764, allocations: 1.639 MB / 379.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.2767, allocations: 52.23 kB / 379.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2767, allocations: 22.59 kB / 379.2 MB, free: 14.15 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.000174/0.2769, allocations: 167.5 kB / 379.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.277, allocations: 22.81 kB / 379.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.278, allocations: 0.5435 MB / 379.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.278, allocations: 4.625 kB / 379.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.278, allocations: 1.969 kB / 379.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2781, allocations: 6.672 kB / 380 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.2797, allocations: 1.148 MB / 381.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2798, allocations: 0.5156 kB / 381.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.2801, allocations: 83.12 kB / 381.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.2804, allocations: 80.14 kB / 381.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.2804, allocations: 13.44 kB / 381.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.2816, allocations: 1.639 MB / 382.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2816, allocations: 1.406 kB / 382.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.2829, allocations: 0.8045 MB / 383.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.283, allocations: 112.4 kB / 383.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.2831, allocations: 15.56 kB / 383.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2833, allocations: 15.36 kB / 383.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.2834, allocations: 34.8 kB / 383.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.2835, allocations: 19.61 kB / 383.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2836, allocations: 138.8 kB / 384 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2836, allocations: 1.469 kB / 384.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.2842, allocations: 147.6 kB / 384.2 MB, free: 10.85 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.0002141/0.2844, allocations: 141.7 kB / 384.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2855, allocations: 0.5621 MB / 384.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2855, allocations: 5.375 kB / 384.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.286, allocations: 375.5 kB / 385.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2864, allocations: 37.38 kB / 385.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2879, allocations: 1.052 MB / 386.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2882, allocations: 0.8044 MB / 387.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2884, allocations: 38 kB / 387.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2884, allocations: 0 / 387.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Templates: time 0.01052/0.2989, allocations: 6.34 MB / 393.5 MB, free: 7.137 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.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