Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.94 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 53.32 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005716/0.1091, allocations: 3.733 MB / 430.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1838/0.2929, allocations: 1.491 MB / 432 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.2931, allocations: 8.781 kB / 432 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.2947, allocations: 0.7593 MB / 432.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.2955, allocations: 396.5 kB / 433.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.2964, allocations: 0.5522 MB / 433.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.2968, allocations: 462.5 kB / 434.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.2973, allocations: 295.9 kB / 434.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.2976, allocations: 220.1 kB / 434.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.2978, allocations: 263.6 kB / 434.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.2979, allocations: 41.59 kB / 435 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.2983, allocations: 219.3 kB / 435.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.2983, allocations: 102.8 kB / 435.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.2985, allocations: 236.2 kB / 435.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.2993, allocations: 0.6873 MB / 436.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2993, allocations: 0 / 436.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2993, allocations: 0 / 436.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2993, allocations: 0 / 436.2 MB, free: 7.426 MB / 350.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.0021/0.3014, allocations: 0.9157 MB / 437.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3014, allocations: 12.69 kB / 437.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/0.3052, allocations: 472.1 kB / 437.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.3055, allocations: 306 kB / 437.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.3056, allocations: 39.25 kB / 437.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.3057, allocations: 64.55 kB / 438 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/0.3067, allocations: 0.5132 MB / 438.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.3067, allocations: 4.875 kB / 438.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.3067, allocations: 25.41 kB / 438.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3068, allocations: 13.34 kB / 438.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3078, allocations: 0.5653 MB / 439.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.3106, allocations: 1.947 MB / 441.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.3123, allocations: 2.145 MB / 443.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.3127, allocations: 182.5 kB / 443.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3128, allocations: 178.4 kB / 443.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3128, allocations: 42.39 kB / 443.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.3128, allocations: 2.625 kB / 443.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002101/0.3149, allocations: 0.7935 MB / 444.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.315, allocations: 56.12 kB / 444.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3151, allocations: 189 kB / 444.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3152, allocations: 34.98 kB / 444.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.3153, allocations: 223.2 kB / 444.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3154, allocations: 168.8 kB / 445.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3155, allocations: 86.75 kB / 445.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.3156, allocations: 335.5 kB / 445.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.3159, allocations: 158.2 kB / 445.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.3163, allocations: 222.7 kB / 445.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.3169, allocations: 402 kB / 446.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3169, allocations: 1.281 kB / 446.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001062/0.318, allocations: 0.5391 MB / 446.8 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.318, allocations: 7.266 kB / 446.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.318, allocations: 6.156 kB / 446.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.3184, allocations: 90.88 kB / 446.9 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.3188, allocations: 91.12 kB / 447 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.3211, allocations: 2.039 MB / 449 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3214, allocations: 46.5 kB / 449 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.3214, allocations: 15.12 kB / 449.1 MB, free: 14.49 MB / 366.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.0002428/0.3217, allocations: 173.7 kB / 449.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.3218, allocations: 28.11 kB / 449.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.323, allocations: 0.5357 MB / 449.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.323, allocations: 5.594 kB / 449.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.323, allocations: 6.281 kB / 449.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3231, allocations: 10.02 kB / 449.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.325, allocations: 1.123 MB / 450.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.325, allocations: 5.406 kB / 450.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.3254, allocations: 76.42 kB / 451 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.3257, allocations: 92.25 kB / 451.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.3257, allocations: 17.06 kB / 451.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.328, allocations: 2.031 MB / 453.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.328, allocations: 0 / 453.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.3295, allocations: 0.7962 MB / 454 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3296, allocations: 111.6 kB / 454.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.3297, allocations: 6.672 kB / 454.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.3299, allocations: 18.11 kB / 454.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.33, allocations: 39.72 kB / 454.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.33, allocations: 16.02 kB / 454.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.3302, allocations: 135 kB / 454.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3302, allocations: 0 / 454.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006678/0.3309, allocations: 156.8 kB / 454.4 MB, free: 10.87 MB / 366.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.0002542/0.3311, allocations: 139.2 kB / 454.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3323, allocations: 0.5384 MB / 455.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3323, allocations: 0 / 455.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.3329, allocations: 357.5 kB / 455.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3333, allocations: 43.69 kB / 455.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3346, allocations: 0.8137 MB / 456.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.3351, allocations: 0.8055 MB / 457.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.3353, allocations: 47.14 kB / 457.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3354, allocations: 35.06 kB / 457.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3354, allocations: 0 / 457.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of Templates: time 0.01019/0.3456, allocations: 4.507 MB / 461.7 MB, free: 7.812 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.678754173219204]