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.001079/0.001079, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001072/0.001072, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2498, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004611/0.2545, allocations: 3.699 MB / 405.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2568, allocations: 1.425 MB / 406.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.257, allocations: 12 kB / 406.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.2588, allocations: 0.7505 MB / 407.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.26, allocations: 0.5426 MB / 407.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.2608, allocations: 425.9 kB / 408.2 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.2614, allocations: 462 kB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.2621, allocations: 382.9 kB / 409.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.2625, allocations: 211.3 kB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.2629, allocations: 267 kB / 409.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.263, allocations: 40 kB / 409.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.2635, allocations: 203.8 kB / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2636, allocations: 115.5 kB / 409.9 MB, free: 356 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.2638, allocations: 230.9 kB / 410.1 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009133/0.2648, allocations: 0.6775 MB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2648, allocations: 0 / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2648, allocations: 0 / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2648, allocations: 0 / 410.8 MB, free: 15.44 MB / 334.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.002396/0.2672, allocations: 0.9014 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2673, allocations: 11.89 kB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.2707, allocations: 499.9 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2711, allocations: 303.7 kB / 412.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.2712, allocations: 41.62 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2713, allocations: 56.28 kB / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008849/0.2722, allocations: 0.5142 MB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2722, allocations: 0 / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.2722, allocations: 24 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.2723, allocations: 12 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.2733, allocations: 0.5634 MB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.276, allocations: 1.857 MB / 415.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.278, allocations: 2.18 MB / 417.7 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2784, allocations: 210.1 kB / 417.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.2785, allocations: 93.53 kB / 418 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.2785, allocations: 42.98 kB / 418.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.2785, allocations: 0 / 418.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001832/0.2804, allocations: 0.7855 MB / 418.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2804, allocations: 59.84 kB / 418.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2806, allocations: 190.2 kB / 419.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.2807, allocations: 33.7 kB / 419.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.2808, allocations: 220.4 kB / 419.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2809, allocations: 157.7 kB / 419.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2811, allocations: 86.16 kB / 419.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2812, allocations: 342.8 kB / 419.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2815, allocations: 153 kB / 420.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.2819, allocations: 224.8 kB / 420.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.2825, allocations: 399.4 kB / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2825, allocations: 0 / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009996/0.2835, allocations: 0.5393 MB / 421.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2836, allocations: 4 kB / 421.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2836, allocations: 8.219 kB / 421.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.2839, allocations: 84.75 kB / 421.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2843, allocations: 95.88 kB / 421.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.2864, allocations: 2.037 MB / 423.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.2867, allocations: 47.52 kB / 423.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.2867, allocations: 20 kB / 423.5 MB, free: 1.812 MB / 334.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.0002169/0.287, allocations: 165.7 kB / 423.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.287, allocations: 31.61 kB / 423.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2881, allocations: 0.5434 MB / 424.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2881, allocations: 12.17 kB / 424.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2881, allocations: 0 / 424.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2882, allocations: 3.938 kB / 424.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.2898, allocations: 1.119 MB / 425.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2898, allocations: 11.88 kB / 425.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.2901, allocations: 71.89 kB / 425.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.2904, allocations: 80.81 kB / 425.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.2905, allocations: 15.98 kB / 425.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.2925, allocations: 2.029 MB / 427.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2925, allocations: 8.078 kB / 427.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2938, allocations: 0.7971 MB / 428.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.2939, allocations: 112.6 kB / 428.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.294, allocations: 15.92 kB / 428.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.2942, allocations: 16 kB / 428.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.2943, allocations: 36.38 kB / 428.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2943, allocations: 12 kB / 428.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.2945, allocations: 144.3 kB / 428.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2945, allocations: 0 / 428.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005696/0.2951, allocations: 135.7 kB / 428.9 MB, free: 12.21 MB / 350.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.0002391/0.2953, allocations: 139.1 kB / 429 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2964, allocations: 0.5739 MB / 429.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2964, allocations: 4.312 kB / 429.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.297, allocations: 377 kB / 429.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2973, allocations: 35.91 kB / 430 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2987, allocations: 0.8268 MB / 430.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.2991, allocations: 0.8084 MB / 431.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2992, allocations: 35.44 kB / 431.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2992, allocations: 0 / 431.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Templates: time 0.009059/0.3083, allocations: 6.347 MB / 438 MB, free: 2.973 MB / 350.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/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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches