Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001603/0.001603, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001352/0.001352, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.513/1.513, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.86 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 53.31 MB / 426.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005604/0.1301, allocations: 4.126 MB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.233/0.3631, allocations: 0.9524 MB / 431.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.3637, allocations: 12.38 kB / 431.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.364, allocations: 93.28 kB / 431.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.3644, allocations: 187.1 kB / 432.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.3649, allocations: 158.1 kB / 432.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006775/0.3656, allocations: 0.6775 MB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3658, allocations: 147.5 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.3662, allocations: 264.6 kB / 433.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3665, allocations: 296.1 kB / 433.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.3665, allocations: 55.53 kB / 433.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3667, allocations: 60.12 kB / 433.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.3667, allocations: 128.7 kB / 433.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.367, allocations: 307 kB / 434.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.3676, allocations: 0.6452 MB / 434.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3676, allocations: 1.031 kB / 434.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3677, allocations: 0 / 434.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.3677, allocations: 1.719 kB / 434.8 MB, free: 7.16 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001474/0.3691, allocations: 0.8836 MB / 435.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3692, allocations: 8.781 kB / 435.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.3693, allocations: 110.6 kB / 435.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.3697, allocations: 88.48 kB / 435.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.3703, allocations: 385.7 kB / 436.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.3703, allocations: 44.47 kB / 436.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.3704, allocations: 58.52 kB / 436.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.3712, allocations: 0.4952 MB / 436.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3713, allocations: 0.75 kB / 436.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.3713, allocations: 20.16 kB / 436.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.3713, allocations: 12.88 kB / 436.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006475/0.372, allocations: 345.1 kB / 437.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.3746, allocations: 1.722 MB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.375, allocations: 248.7 kB / 439.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.3753, allocations: 137.1 kB / 439.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3753, allocations: 6.656 kB / 439.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3753, allocations: 43.09 kB / 439.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.3753, allocations: 3.938 kB / 439.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001857/0.3772, allocations: 0.9672 MB / 440.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3772, allocations: 84.55 kB / 440.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.3777, allocations: 386.9 kB / 440.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3777, allocations: 35.95 kB / 440.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.3779, allocations: 303.8 kB / 441.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.378, allocations: 124 kB / 441.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3781, allocations: 75.78 kB / 441.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.3782, allocations: 349.2 kB / 441.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.3784, allocations: 99.27 kB / 441.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.3786, allocations: 197.5 kB / 441.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.3791, allocations: 308.4 kB / 442.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3791, allocations: 0 / 442.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008026/0.3799, allocations: 446.8 kB / 442.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.3799, allocations: 11.12 kB / 442.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3799, allocations: 6.938 kB / 442.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.3803, allocations: 79.42 kB / 442.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.3806, allocations: 86.98 kB / 442.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.3828, allocations: 3.118 MB / 446 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3831, allocations: 24.09 kB / 446 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3831, allocations: 12.95 kB / 446 MB, free: 15.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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 {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.3833, allocations: 167.5 kB / 446.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3835, allocations: 52.95 kB / 446.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.3835, allocations: 42 kB / 446.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3835, allocations: 4.906 kB / 446.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.3836, allocations: 3.781 kB / 446.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3836, allocations: 1.125 kB / 446.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.3852, allocations: 0.9545 MB / 447.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3852, allocations: 1.062 kB / 447.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.3853, allocations: 46.59 kB / 447.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.3856, allocations: 80.64 kB / 447.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3856, allocations: 9.078 kB / 447.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.3886, allocations: 3.118 MB / 450.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3886, allocations: 1.188 kB / 450.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3897, allocations: 0.6272 MB / 451.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3898, allocations: 116.5 kB / 451.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3899, allocations: 10.86 kB / 451.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.3902, allocations: 31.66 kB / 451.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.3903, allocations: 23.64 kB / 451.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.3903, allocations: 8.719 kB / 451.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000383/0.3907, allocations: 277.8 kB / 451.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 451.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006636/0.3914, allocations: 118.2 kB / 451.7 MB, free: 10.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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 {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.3928, allocations: 1.172 MB / 452.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3939, allocations: 0.4926 MB / 453.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3939, allocations: 0.625 kB / 453.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.3946, allocations: 383.8 kB / 453.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.3951, allocations: 60.94 kB / 453.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.4016, allocations: 4.221 MB / 458 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.4022, allocations: 0.8475 MB / 458.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4024, allocations: 44.86 kB / 458.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.4026, allocations: 178.2 kB / 459.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4026, allocations: 0 / 459.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.4458, allocations: 9.125 MB / 468.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.82, allocations: 9.047 kB / 468.2 MB, free: 2.562 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.882650858256966]