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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001944/0.001944, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2926, allocations: 53.39 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005084/0.2977, allocations: 3.406 MB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.3002, allocations: 1.386 MB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3004, allocations: 8 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.3021, allocations: 0.6922 MB / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009559/0.3031, allocations: 389.1 kB / 437.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3042, allocations: 0.5172 MB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.3048, allocations: 465.9 kB / 438.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.3054, allocations: 362 kB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.3058, allocations: 215.2 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.3061, allocations: 267 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.3062, allocations: 47.94 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.3066, allocations: 203.9 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.3067, allocations: 103.6 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.3069, allocations: 199.1 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.3077, allocations: 0.6849 MB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3077, allocations: 0 / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3077, allocations: 0 / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3077, allocations: 0 / 440.8 MB, free: 13.54 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.00215/0.3099, allocations: 0.8446 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3099, allocations: 8.031 kB / 441.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.345e-05/0.3099, allocations: 21.5 kB / 441.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.3101, allocations: 99.91 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.3135, allocations: 476.2 kB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.314, allocations: 249.4 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.3141, allocations: 45.69 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.3142, allocations: 56.12 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3152, allocations: 0.547 MB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3153, allocations: 4 kB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.3153, allocations: 24 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3153, allocations: 16 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3164, allocations: 0.5751 MB / 443.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3193, allocations: 1.616 MB / 445.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3208, allocations: 0.5776 MB / 445.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3212, allocations: 194.1 kB / 446.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/0.3213, allocations: 24.41 kB / 446.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.3213, allocations: 43 kB / 446.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.103e-06/0.3213, allocations: 0 / 446.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004782/0.3261, allocations: 1.813 MB / 448 MB, free: 6.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3261, allocations: 64 kB / 448.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3264, allocations: 191 kB / 448.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.3264, allocations: 33.7 kB / 448.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3266, allocations: 221 kB / 448.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3268, allocations: 238 kB / 448.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.327, allocations: 106.3 kB / 448.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3271, allocations: 342.8 kB / 449.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.3276, allocations: 229.2 kB / 449.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.3282, allocations: 309.9 kB / 449.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.3292, allocations: 0.5506 MB / 450.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3292, allocations: 0 / 450.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001663/0.3309, allocations: 0.7797 MB / 451 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3309, allocations: 8 kB / 451 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3309, allocations: 0 / 451 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/0.3316, allocations: 189.5 kB / 451.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.3321, allocations: 107.9 kB / 451.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/0.3367, allocations: 3.915 MB / 455.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.3372, allocations: 31.97 kB / 455.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.3372, allocations: 20 kB / 455.3 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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.3375, allocations: 185.7 kB / 455.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3376, allocations: 31.88 kB / 455.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.3394, allocations: 0.8031 MB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3394, allocations: 8 kB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3395, allocations: 8 kB / 456.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.3395, allocations: 3.984 kB / 456.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.3422, allocations: 1.439 MB / 457.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3422, allocations: 3.938 kB / 457.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.3426, allocations: 95.89 kB / 457.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/0.3432, allocations: 177.5 kB / 458 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.3432, allocations: 12 kB / 458 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.3473, allocations: 3.628 MB / 461.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3473, allocations: 12.09 kB / 461.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.3497, allocations: 1.152 MB / 462.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3499, allocations: 31.8 kB / 462.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.3499, allocations: 12 kB / 462.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3503, allocations: 23.98 kB / 462.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3504, allocations: 56.55 kB / 463 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3504, allocations: 19.98 kB / 463 MB, free: 6.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3506, allocations: 139.3 kB / 463.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3506, allocations: 4 kB / 463.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007338/0.3513, allocations: 155.9 kB / 463.3 MB, free: 6.176 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 (53): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002756/0.3541, allocations: 1.736 MB / 465 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.3559, allocations: 0.8812 MB / 465.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.3559, allocations: 4 kB / 465.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3569, allocations: 0.595 MB / 466.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3573, allocations: 42.72 kB / 466.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/0.3643, allocations: 4.202 MB / 470.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3646, allocations: 230.6 kB / 471 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.3648, allocations: 55.27 kB / 471 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3651, allocations: 163.4 kB / 471.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3651, allocations: 0 / 471.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.4087, allocations: 10.77 MB / 481.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.48, allocations: 3.625 kB / 481.9 MB, free: 3.426 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.132877268944867]