Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001744/0.001744, 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.002365/0.002365, 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1113, allocations: 53.33 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.2104/0.3217, allocations: 5.635 MB / 432.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.3254, allocations: 1.89 MB / 434.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.3262, allocations: 19.22 kB / 434.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.3295, allocations: 1.62 MB / 435.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.3313, allocations: 0.6067 MB / 436.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3324, allocations: 400.5 kB / 436.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3338, allocations: 0.8053 MB / 437.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.3349, allocations: 0.6639 MB / 438.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005932/0.3355, allocations: 354.8 kB / 438.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.3361, allocations: 499.7 kB / 439.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3362, allocations: 77.91 kB / 439.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.3368, allocations: 240.9 kB / 439.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.337, allocations: 188.5 kB / 439.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.3373, allocations: 424.6 kB / 440 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3389, allocations: 1.177 MB / 441.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3389, allocations: 1.188 kB / 441.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3389, allocations: 0 / 441.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.3389, allocations: 0 / 441.2 MB, free: 5.18 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003234/0.3421, allocations: 1.374 MB / 442.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3422, allocations: 9 kB / 442.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.3423, allocations: 155.9 kB / 442.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.347, allocations: 0.6214 MB / 443.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000849/0.3478, allocations: 417.8 kB / 443.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.3479, allocations: 74.62 kB / 443.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.348, allocations: 96.08 kB / 444 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.3498, allocations: 0.9963 MB / 444.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.3498, allocations: 1.969 kB / 445 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.3499, allocations: 40.91 kB / 445 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.3499, allocations: 23.59 kB / 445 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.3516, allocations: 0.9299 MB / 445.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.3563, allocations: 3.436 MB / 449.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.3588, allocations: 2.183 MB / 451.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.3593, allocations: 257.3 kB / 451.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.3595, allocations: 184 kB / 452 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.3595, allocations: 51.19 kB / 452 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.186e-06/0.3596, allocations: 0 / 452 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001491/0.361, allocations: 0.7198 MB / 452.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.3611, allocations: 114.8 kB / 452.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.3615, allocations: 267.7 kB / 453.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.3615, allocations: 40.67 kB / 453.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3618, allocations: 390.6 kB / 453.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.362, allocations: 238.1 kB / 453.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3622, allocations: 136.1 kB / 453.9 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3624, allocations: 348 kB / 454.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.3628, allocations: 230.5 kB / 454.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.3635, allocations: 433.1 kB / 454.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3646, allocations: 0.7009 MB / 455.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3646, allocations: 1.375 kB / 455.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001357/0.3659, allocations: 0.7588 MB / 456.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.366, allocations: 10.88 kB / 456.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.366, allocations: 7.719 kB / 456.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.366, allocations: 14.88 kB / 456.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.3667, allocations: 188.4 kB / 456.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.3668, allocations: 15.64 kB / 456.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.3672, allocations: 80.3 kB / 456.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.3673, allocations: 37.77 kB / 456.7 MB, free: 11.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.3676, allocations: 218.4 kB / 456.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3678, allocations: 49 kB / 457 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.3691, allocations: 0.644 MB / 457.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3691, allocations: 12.78 kB / 457.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3691, allocations: 0 / 457.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3691, allocations: 7.094 kB / 457.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.3717, allocations: 1.476 MB / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3717, allocations: 0 / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.3723, allocations: 142.5 kB / 459.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3723, allocations: 2.281 kB / 459.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.3723, allocations: 16.17 kB / 459.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.3723, allocations: 14.03 kB / 459.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3723, allocations: 1.219 kB / 459.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.374, allocations: 1.124 MB / 460.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3742, allocations: 125.1 kB / 460.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.3742, allocations: 15.31 kB / 460.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.3746, allocations: 33.78 kB / 460.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3747, allocations: 42.69 kB / 460.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.3747, allocations: 21.77 kB / 460.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.375, allocations: 186.3 kB / 460.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 0 / 460.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009121/0.3759, allocations: 231.8 kB / 461.1 MB, free: 9.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002227/0.3781, allocations: 1.711 MB / 462.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.3793, allocations: 0.5737 MB / 463.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3793, allocations: 0 / 463.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.3798, allocations: 271.2 kB / 463.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.3803, allocations: 40.52 kB / 463.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.3873, allocations: 4.85 MB / 468.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.3879, allocations: 0.9055 MB / 469.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.3882, allocations: 78.08 kB / 469.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.3885, allocations: 258.8 kB / 469.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3885, allocations: 0 / 469.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.4272, allocations: 9.737 MB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.821/9.248, allocations: 16.03 kB / 479.5 MB, free: 11.34 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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: 11.987010532990098]