Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, 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.001358/0.001358, 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.31/1.31, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64 kB / 306.9 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08659, allocations: 50.52 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004649/0.09128, allocations: 3.73 MB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.09364, allocations: 1.48 MB / 362.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.09384, allocations: 8 kB / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.09545, allocations: 0.7082 MB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000812/0.09627, allocations: 354.5 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/0.09723, allocations: 0.5425 MB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.09765, allocations: 442 kB / 364.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005386/0.09819, allocations: 340.9 kB / 365 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.09849, allocations: 199.2 kB / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.09875, allocations: 263 kB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.09881, allocations: 35.94 kB / 365.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.09919, allocations: 195.8 kB / 365.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.09928, allocations: 99.59 kB / 365.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.09946, allocations: 218.9 kB / 366 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.09998, allocations: 0.5221 MB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09999, allocations: 0 / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1, allocations: 0 / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1, allocations: 0 / 366.5 MB, free: 5.406 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.002007/0.102, allocations: 0.9093 MB / 367.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1021, allocations: 8.031 kB / 367.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.1057, allocations: 499.9 kB / 367.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1061, allocations: 299.7 kB / 368.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.1062, allocations: 37.69 kB / 368.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.1063, allocations: 60.31 kB / 368.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.1073, allocations: 0.5142 MB / 368.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.1073, allocations: 0 / 368.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.1074, allocations: 24 kB / 368.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1074, allocations: 12 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1085, allocations: 0.5673 MB / 369.4 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.1114, allocations: 1.964 MB / 371.4 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1447/0.2561, allocations: 2.179 MB / 373.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.2565, allocations: 211.3 kB / 373.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2567, allocations: 174.9 kB / 373.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2567, allocations: 37.09 kB / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.2567, allocations: 1.75 kB / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.00195/0.2587, allocations: 0.7868 MB / 374.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2587, allocations: 57.11 kB / 374.8 MB, free: 17.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2589, allocations: 188.4 kB / 375 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2589, allocations: 36.23 kB / 375 MB, free: 17.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.259, allocations: 222.8 kB / 375.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.2591, allocations: 160.6 kB / 375.4 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2592, allocations: 82.08 kB / 375.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.2593, allocations: 337.9 kB / 375.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2596, allocations: 151.6 kB / 376 MB, free: 16.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.2599, allocations: 226.1 kB / 376.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.2605, allocations: 401.6 kB / 376.6 MB, free: 16.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2606, allocations: 0 / 376.6 MB, free: 16.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001017/0.2616, allocations: 0.5365 MB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2616, allocations: 9 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2616, allocations: 1.375 kB / 377.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.262, allocations: 86.36 kB / 377.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.2624, allocations: 94.28 kB / 377.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.2639, allocations: 1.844 MB / 379.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2642, allocations: 46.81 kB / 379.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.2642, allocations: 18.05 kB / 379.2 MB, free: 14.61 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.000163/0.2644, allocations: 170.4 kB / 379.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.2645, allocations: 31.06 kB / 379.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2655, allocations: 0.5488 MB / 380 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2655, allocations: 4.875 kB / 380 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2655, allocations: 6.719 kB / 380 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2656, allocations: 6.141 kB / 380 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2671, allocations: 1.127 MB / 381.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2671, allocations: 0.5625 kB / 381.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.2675, allocations: 79.64 kB / 381.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2677, allocations: 86 kB / 381.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.2678, allocations: 12.31 kB / 381.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.2692, allocations: 1.844 MB / 383.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2692, allocations: 4.062 kB / 383.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.2705, allocations: 0.7878 MB / 383.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.2705, allocations: 111.5 kB / 384 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.2706, allocations: 10.95 kB / 384 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2708, allocations: 18.77 kB / 384.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.2709, allocations: 37.59 kB / 384.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2709, allocations: 10.47 kB / 384.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.271, allocations: 136.2 kB / 384.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2711, allocations: 0 / 384.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.2716, allocations: 146.4 kB / 384.4 MB, free: 11.18 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.0002114/0.2719, allocations: 139.5 kB / 384.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009618/0.2728, allocations: 0.5686 MB / 385.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2728, allocations: 0 / 385.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.2734, allocations: 386.9 kB / 385.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2737, allocations: 34.7 kB / 385.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2751, allocations: 1.03 MB / 386.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2754, allocations: 0.8104 MB / 387.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2755, allocations: 37.36 kB / 387.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2755, allocations: 0 / 387.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of Templates: time 0.00858/0.2841, allocations: 6.298 MB / 393.7 MB, free: 7.453 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches