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.001696/0.001696, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001996/0.001996, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 8.031 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 51.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 53.36 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005765/0.2431, allocations: 3.743 MB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2458, allocations: 1.518 MB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.246, allocations: 8 kB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.2478, allocations: 0.7506 MB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.2486, allocations: 405 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2497, allocations: 0.5636 MB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.2502, allocations: 454.1 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.2507, allocations: 370.4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.251, allocations: 211.3 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.2514, allocations: 262.9 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.2514, allocations: 40 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.2518, allocations: 219.8 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.2519, allocations: 111.6 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.2521, allocations: 230.8 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.253, allocations: 0.6888 MB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.253, allocations: 0 / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.253, allocations: 0 / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.253, allocations: 0 / 441.4 MB, free: 13.31 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.002013/0.255, allocations: 0.8369 MB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.255, allocations: 8.031 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.404e-05/0.2551, allocations: 21.48 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.2552, allocations: 99.97 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.2586, allocations: 472.2 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.259, allocations: 253.8 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.259, allocations: 49.62 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.2591, allocations: 60.08 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/0.2601, allocations: 0.518 MB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2601, allocations: 7.984 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.2601, allocations: 24 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2602, allocations: 12 kB / 443.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2612, allocations: 0.5751 MB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.264, allocations: 1.741 MB / 446.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.2655, allocations: 0.598 MB / 446.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.2659, allocations: 198.1 kB / 446.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/0.266, allocations: 24.41 kB / 446.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.266, allocations: 35 kB / 447 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.396e-06/0.266, allocations: 7.984 kB / 447 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004463/0.2705, allocations: 1.809 MB / 448.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2705, allocations: 68 kB / 448.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2707, allocations: 186.2 kB / 449 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.2707, allocations: 37.7 kB / 449.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2709, allocations: 225 kB / 449.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.2711, allocations: 226 kB / 449.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.2712, allocations: 110.3 kB / 449.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2714, allocations: 346.7 kB / 449.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.2718, allocations: 225.2 kB / 450.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.2724, allocations: 302 kB / 450.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2734, allocations: 0.5545 MB / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2734, allocations: 0 / 451 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001622/0.275, allocations: 0.7836 MB / 451.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.275, allocations: 4 kB / 451.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2751, allocations: 4 kB / 451.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.2757, allocations: 185.5 kB / 452 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.2761, allocations: 107.9 kB / 452.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.2804, allocations: 3.954 MB / 456 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.2808, allocations: 28.02 kB / 456.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.2808, allocations: 28.05 kB / 456.1 MB, free: 14.12 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.0002655/0.2811, allocations: 181.7 kB / 456.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.2812, allocations: 31.81 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.2829, allocations: 0.807 MB / 457.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.283, allocations: 4 kB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.283, allocations: 7.938 kB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.283, allocations: 3.984 kB / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.2856, allocations: 1.525 MB / 458.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2856, allocations: 3.938 kB / 458.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.286, allocations: 95.88 kB / 458.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.2865, allocations: 177.5 kB / 458.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.2866, allocations: 15.98 kB / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.2907, allocations: 3.675 MB / 462.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2907, allocations: 0 / 462.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.2929, allocations: 1.148 MB / 463.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.293, allocations: 31.8 kB / 463.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.293, allocations: 12.05 kB / 463.8 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2933, allocations: 27.98 kB / 463.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.2935, allocations: 56.55 kB / 463.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.2935, allocations: 16 kB / 463.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.2936, allocations: 136.2 kB / 464 MB, free: 5.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 0 / 464 MB, free: 5.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006881/0.2943, allocations: 167.9 kB / 464.2 MB, free: 5.68 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.002723/0.297, allocations: 1.732 MB / 465.9 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.2988, allocations: 0.889 MB / 466.8 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2988, allocations: 0 / 466.8 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2998, allocations: 0.595 MB / 467.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3002, allocations: 37.12 kB / 467.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/0.3069, allocations: 4.201 MB / 471.7 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.3075, allocations: 0.8336 MB / 472.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3077, allocations: 55.25 kB / 472.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3079, allocations: 159.4 kB / 472.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3079, allocations: 0 / 472.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.3501, allocations: 10.61 MB / 483.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.68, allocations: 15.55 kB / 483.3 MB, free: 2.484 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 14.05890033498872]