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.001751/0.001751, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001874/0.001874, allocations: 220.5 kB / 24.53 MB, free: 4.004 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.002044/0.002044, allocations: 67.89 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2899, allocations: 53.41 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005895/0.2958, allocations: 3.751 MB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2987, allocations: 1.515 MB / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.299, allocations: 8 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3009, allocations: 0.7538 MB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3019, allocations: 402 kB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.303, allocations: 0.5479 MB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.3035, allocations: 462 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.3041, allocations: 361.5 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.3045, allocations: 219.1 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.3048, allocations: 267 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.3049, allocations: 40 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.3053, allocations: 211.9 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.3054, allocations: 103.6 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3056, allocations: 238.8 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.3066, allocations: 0.6897 MB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3066, allocations: 3.938 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3066, allocations: 0 / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.3066, allocations: 0 / 441.5 MB, free: 13.15 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.3087, allocations: 0.8447 MB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3088, allocations: 8.031 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.641e-05/0.3088, allocations: 13.5 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.309, allocations: 108 kB / 442.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/0.3124, allocations: 476.1 kB / 442.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.3129, allocations: 245.9 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.3129, allocations: 41.69 kB / 443.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/0.313, allocations: 68.06 kB / 443.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.314, allocations: 0.5218 MB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.314, allocations: 4 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.3141, allocations: 20 kB / 443.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3141, allocations: 12 kB / 443.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.3152, allocations: 0.5751 MB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.3181, allocations: 1.749 MB / 446.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.3197, allocations: 0.597 MB / 446.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.3201, allocations: 190.1 kB / 446.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/0.3201, allocations: 24.41 kB / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3202, allocations: 42.98 kB / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.3202, allocations: 0 / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004633/0.3248, allocations: 1.809 MB / 448.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3249, allocations: 64.05 kB / 448.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.325, allocations: 183 kB / 449.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.3251, allocations: 37.7 kB / 449.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3252, allocations: 225 kB / 449.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.3254, allocations: 230 kB / 449.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.3256, allocations: 114.3 kB / 449.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3258, allocations: 338.8 kB / 450 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.3263, allocations: 221.2 kB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.3269, allocations: 317.9 kB / 450.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.328, allocations: 0.5467 MB / 451 MB, free: 3.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.328, allocations: 0 / 451 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001694/0.3297, allocations: 0.7836 MB / 451.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3297, allocations: 4 kB / 451.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3297, allocations: 4 kB / 451.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.3304, allocations: 193.5 kB / 452 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.3309, allocations: 115.8 kB / 452.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.3352, allocations: 3.95 MB / 456.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3355, allocations: 23.98 kB / 456.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.3356, allocations: 20 kB / 456.1 MB, free: 13.96 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.0002501/0.3358, allocations: 181.7 kB / 456.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.3359, allocations: 27.81 kB / 456.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.3377, allocations: 0.8109 MB / 457.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3377, allocations: 12 kB / 457.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3377, allocations: 4 kB / 457.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3377, allocations: 3.984 kB / 457.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.3405, allocations: 1.529 MB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.3405, allocations: 7.922 kB / 458.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.3409, allocations: 91.89 kB / 458.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/0.3415, allocations: 177.6 kB / 459 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.3415, allocations: 16 kB / 459 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.3455, allocations: 3.659 MB / 462.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3455, allocations: 192 / 462.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3477, allocations: 1.152 MB / 463.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.3478, allocations: 31.73 kB / 463.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.3479, allocations: 16 kB / 463.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3482, allocations: 27.97 kB / 463.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3483, allocations: 56.5 kB / 463.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.3484, allocations: 19.98 kB / 463.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3485, allocations: 139.2 kB / 464.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3485, allocations: 0 / 464.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006844/0.3492, allocations: 159.9 kB / 464.2 MB, free: 5.52 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.002686/0.3518, allocations: 1.736 MB / 466 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.3536, allocations: 0.8891 MB / 466.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3536, allocations: 0 / 466.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3546, allocations: 0.5988 MB / 467.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.355, allocations: 42.31 kB / 467.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.3617, allocations: 4.199 MB / 471.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.3622, allocations: 0.8336 MB / 472.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.3624, allocations: 51.27 kB / 472.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.3627, allocations: 163.4 kB / 472.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3627, allocations: 0 / 472.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.4031, allocations: 10.59 MB / 483.3 MB, free: 2.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.36, allocations: 4.062 kB / 483.3 MB, free: 2.305 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: 14.921743077982683]