Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007794/0.0007794, allocations: 89.59 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009518, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 8.844 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09242, allocations: 50.41 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003813/0.09628, allocations: 3.307 MB / 355.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.09871, allocations: 1.398 MB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.09907, allocations: 8 kB / 356.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.09963, allocations: 167.3 kB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1008, allocations: 498 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.1016, allocations: 397.7 kB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.102, allocations: 446 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.1032, allocations: 0.7158 MB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.1035, allocations: 167.3 kB / 358.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.1037, allocations: 238.9 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.1038, allocations: 20 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1041, allocations: 183.8 kB / 359.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.1042, allocations: 83.61 kB / 359.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1044, allocations: 228.6 kB / 359.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.1051, allocations: 0.6422 MB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1051, allocations: 3.938 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1051, allocations: 0 / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1051, allocations: 4 kB / 360.3 MB, free: 11.18 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.001949/0.1071, allocations: 0.8234 MB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1071, allocations: 8.031 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.1105, allocations: 499.9 kB / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1109, allocations: 299.7 kB / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.111, allocations: 41.69 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-05/0.1111, allocations: 56.28 kB / 362 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.112, allocations: 0.5181 MB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1121, allocations: 4 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.1121, allocations: 27.94 kB / 362.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1122, allocations: 16 kB / 362.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1132, allocations: 0.5751 MB / 363.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.1159, allocations: 1.873 MB / 365 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.118, allocations: 2.192 MB / 367.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.1184, allocations: 224.4 kB / 367.4 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.1185, allocations: 97.52 kB / 367.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1185, allocations: 35 kB / 367.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.1185, allocations: 0 / 367.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001984/0.1205, allocations: 0.8129 MB / 368.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1206, allocations: 63.78 kB / 368.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1207, allocations: 186.3 kB / 368.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1208, allocations: 33.7 kB / 368.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1209, allocations: 216.4 kB / 368.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.121, allocations: 165.6 kB / 369 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.1211, allocations: 37.7 kB / 369 MB, free: 1.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1212, allocations: 346.8 kB / 369.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.1215, allocations: 153 kB / 369.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.1219, allocations: 236.8 kB / 369.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.1225, allocations: 407.4 kB / 370.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1226, allocations: 0 / 370.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1732/0.2957, allocations: 0.5432 MB / 370.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2958, allocations: 5.188 kB / 370.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2958, allocations: 5.766 kB / 370.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/0.2962, allocations: 86.69 kB / 370.8 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.2967, allocations: 94.83 kB / 370.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.2984, allocations: 1.847 MB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2987, allocations: 49.02 kB / 372.8 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.2987, allocations: 17.17 kB / 372.8 MB, free: 23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.2989, allocations: 169.7 kB / 373 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.299, allocations: 31.91 kB / 373 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.3001, allocations: 0.5557 MB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3001, allocations: 6.062 kB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3001, allocations: 1 kB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3002, allocations: 3 kB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3018, allocations: 1.141 MB / 374.7 MB, free: 22.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3018, allocations: 0 / 374.7 MB, free: 22.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3022, allocations: 79.8 kB / 374.8 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002974/0.3025, allocations: 89.95 kB / 374.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3025, allocations: 10.88 kB / 374.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.304, allocations: 1.844 MB / 376.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.304, allocations: 0 / 376.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3052, allocations: 0.8143 MB / 377.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3053, allocations: 108.9 kB / 377.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3053, allocations: 10.27 kB / 377.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3055, allocations: 22.42 kB / 377.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.3056, allocations: 38.7 kB / 377.7 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.3057, allocations: 17.39 kB / 377.7 MB, free: 20.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.3058, allocations: 133.5 kB / 377.9 MB, free: 20.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 0 / 377.9 MB, free: 20.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.3064, allocations: 147.7 kB / 378 MB, free: 20.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000278/0.3067, allocations: 138.6 kB / 378.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3078, allocations: 0.5785 MB / 378.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3078, allocations: 5.156 kB / 378.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.3084, allocations: 380.1 kB / 379.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3088, allocations: 36.09 kB / 379.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3101, allocations: 1.047 MB / 380.2 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3103, allocations: 0.8071 MB / 381 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.3105, allocations: 53.44 kB / 381 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.3106, allocations: 32.73 kB / 381.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3106, allocations: 0 / 381.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008699/0.3193, allocations: 4.014 MB / 385.1 MB, free: 17.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches