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.001367/0.001367, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001545/0.001545, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.83 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 53.41 MB / 431.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005545/0.2654, allocations: 3.743 MB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2681, allocations: 1.526 MB / 436.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.2684, allocations: 8 kB / 436.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.2703, allocations: 0.7464 MB / 437.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.2712, allocations: 406 kB / 437.6 MB, free: 204 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2723, allocations: 0.5555 MB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.2729, allocations: 462 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.2735, allocations: 358.5 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.2738, allocations: 219.1 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.2742, allocations: 267 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.2743, allocations: 40 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.2747, allocations: 211.9 kB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.2748, allocations: 115.6 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.275, allocations: 230.8 kB / 440 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.2759, allocations: 0.6888 MB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2759, allocations: 0 / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2759, allocations: 0 / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.276, allocations: 0 / 440.7 MB, free: 13.09 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.002163/0.2781, allocations: 0.8446 MB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2782, allocations: 8.031 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.2783, allocations: 99.97 kB / 441.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.2816, allocations: 472.2 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.2821, allocations: 245.9 kB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.2822, allocations: 45.62 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.2823, allocations: 60.33 kB / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.2833, allocations: 0.5179 MB / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2833, allocations: 4 kB / 443 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.2833, allocations: 20 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.2834, allocations: 16 kB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2845, allocations: 0.5751 MB / 443.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.2874, allocations: 1.733 MB / 445.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.289, allocations: 0.5624 MB / 445.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2894, allocations: 194.1 kB / 446.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.2894, allocations: 24.41 kB / 446.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2895, allocations: 38.94 kB / 446.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/0.2895, allocations: 0 / 446.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001976/0.2914, allocations: 0.7065 MB / 446.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2915, allocations: 63.77 kB / 446.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2917, allocations: 187 kB / 447.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2918, allocations: 33.7 kB / 447.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.292, allocations: 229 kB / 447.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.2922, allocations: 174.5 kB / 447.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2923, allocations: 82.19 kB / 447.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2925, allocations: 338.8 kB / 447.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.2928, allocations: 148.9 kB / 448.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.2932, allocations: 232.2 kB / 448.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.2939, allocations: 395.5 kB / 448.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2939, allocations: 3.938 kB / 448.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001069/0.2949, allocations: 0.5358 MB / 449.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.295, allocations: 10.19 kB / 449.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.295, allocations: 0 / 449.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2953, allocations: 92.73 kB / 449.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.2957, allocations: 91.89 kB / 449.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.298, allocations: 1.942 MB / 451.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.2982, allocations: 47.66 kB / 451.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.2983, allocations: 19.94 kB / 451.4 MB, free: 1.969 MB / 350.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.0002229/0.2985, allocations: 166 kB / 451.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.2986, allocations: 27.81 kB / 451.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.2998, allocations: 0.5433 MB / 452.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2998, allocations: 4 kB / 452.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2998, allocations: 7.984 kB / 452.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2998, allocations: 3.938 kB / 452.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3017, allocations: 1.103 MB / 453.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3017, allocations: 3.984 kB / 453.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.302, allocations: 75.91 kB / 453.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.3023, allocations: 88.8 kB / 453.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.3023, allocations: 12 kB / 453.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.3046, allocations: 1.93 MB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3046, allocations: 4.062 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.3061, allocations: 0.7893 MB / 456.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3061, allocations: 35.83 kB / 456.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3062, allocations: 8 kB / 456.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.3064, allocations: 19.98 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.3065, allocations: 40.34 kB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.3065, allocations: 16 kB / 456.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3066, allocations: 131.2 kB / 456.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3066, allocations: 0 / 456.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006223/0.3073, allocations: 159.8 kB / 456.6 MB, free: 12.61 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.002162/0.3094, allocations: 1.376 MB / 458 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.3106, allocations: 0.5386 MB / 458.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3106, allocations: 3.938 kB / 458.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.3112, allocations: 365.4 kB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3116, allocations: 28 kB / 458.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.3168, allocations: 3.412 MB / 462.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3173, allocations: 0.8123 MB / 463.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.3175, allocations: 46.95 kB / 463.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.3177, allocations: 135.4 kB / 463.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3177, allocations: 0 / 463.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.3607, allocations: 8.112 MB / 471.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.06, allocations: 5.688 kB / 471.4 MB, free: 13.68 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.422333829803392]