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.001577/0.001577, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001584/0.001584, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.51/1.51, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001827/0.001827, allocations: 59.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1111, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005527/0.1166, allocations: 3.724 MB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2143/0.3309, allocations: 1.496 MB / 432.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.3312, allocations: 8.094 kB / 432.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3329, allocations: 0.7571 MB / 433 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008466/0.3338, allocations: 395.5 kB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.3347, allocations: 0.5529 MB / 434 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.3351, allocations: 462.1 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.3355, allocations: 298.8 kB / 434.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.3358, allocations: 215.5 kB / 434.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.3361, allocations: 266.2 kB / 435.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.3361, allocations: 41.47 kB / 435.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.3365, allocations: 216 kB / 435.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3366, allocations: 104.4 kB / 435.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.3368, allocations: 237.5 kB / 435.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.3378, allocations: 0.6901 MB / 436.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3378, allocations: 1.906 kB / 436.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3378, allocations: 0 / 436.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3378, allocations: 0 / 436.5 MB, free: 6.941 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.002037/0.3398, allocations: 0.9152 MB / 437.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3399, allocations: 10.36 kB / 437.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.25e-05/0.3399, allocations: 18.59 kB / 437.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3401, allocations: 103.4 kB / 437.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.3435, allocations: 468.2 kB / 438 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.3439, allocations: 312.3 kB / 438.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.344, allocations: 43.59 kB / 438.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3441, allocations: 60.03 kB / 438.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3452, allocations: 0.5206 MB / 438.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3452, allocations: 1.188 kB / 438.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.3452, allocations: 26.62 kB / 438.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.3453, allocations: 12.78 kB / 438.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3463, allocations: 0.5771 MB / 439.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.3492, allocations: 1.981 MB / 441.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3511, allocations: 2.156 MB / 443.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.3515, allocations: 195.3 kB / 443.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.3516, allocations: 180.3 kB / 444 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3516, allocations: 37.16 kB / 444.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.725e-06/0.3516, allocations: 4.531 kB / 444.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004551/0.3562, allocations: 1.964 MB / 446 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3562, allocations: 59.34 kB / 446.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3564, allocations: 187.2 kB / 446.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.3564, allocations: 39.89 kB / 446.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3565, allocations: 225.9 kB / 446.5 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3566, allocations: 226.3 kB / 446.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.3568, allocations: 108.5 kB / 446.9 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.357, allocations: 347.6 kB / 447.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.3575, allocations: 219.4 kB / 447.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.358, allocations: 310.2 kB / 447.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3591, allocations: 0.5486 MB / 448.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3591, allocations: 0.6094 kB / 448.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001739/0.3609, allocations: 0.7845 MB / 449 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3609, allocations: 5.562 kB / 449.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3609, allocations: 3.406 kB / 449.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006832/0.3616, allocations: 189.9 kB / 449.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.362, allocations: 109.1 kB / 449.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/0.3666, allocations: 4.163 MB / 453.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.367, allocations: 28.36 kB / 453.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.3671, allocations: 22.09 kB / 453.6 MB, free: 11.19 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.0002783/0.3673, allocations: 188.9 kB / 453.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.3674, allocations: 32.44 kB / 453.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3693, allocations: 0.8055 MB / 454.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3693, allocations: 5.938 kB / 454.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3693, allocations: 3.531 kB / 454.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3693, allocations: 4.5 kB / 454.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.3721, allocations: 1.554 MB / 456.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3721, allocations: 3.938 kB / 456.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.3725, allocations: 99.48 kB / 456.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.3731, allocations: 177.9 kB / 456.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.3731, allocations: 13.98 kB / 456.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.3773, allocations: 3.873 MB / 460.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3773, allocations: 0 / 460.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.3796, allocations: 1.157 MB / 461.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3797, allocations: 102.8 kB / 461.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.3798, allocations: 12 kB / 461.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3801, allocations: 25.08 kB / 461.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3803, allocations: 54.58 kB / 461.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.3803, allocations: 17.75 kB / 461.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.3805, allocations: 134.8 kB / 461.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3805, allocations: 0 / 461.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007838/0.3812, allocations: 156.8 kB / 462 MB, free: 5.477 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.002761/0.384, allocations: 1.741 MB / 463.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3858, allocations: 0.8764 MB / 464.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3858, allocations: 0 / 464.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3869, allocations: 0.6064 MB / 465.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3873, allocations: 31.12 kB / 465.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.3946, allocations: 4.2 MB / 469.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3951, allocations: 0.8326 MB / 470.2 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.3954, allocations: 56.19 kB / 470.3 MB, free: 136 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.3956, allocations: 156.7 kB / 470.5 MB, free: 4 kB / 366.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3956, allocations: 0 / 470.5 MB, free: 4 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.4422, allocations: 10.14 MB / 480.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.08, allocations: 13.69 kB / 480.6 MB, free: 9.082 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.666834322968498]