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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001511/0.001511, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.5 MB / 257.4 MB, free: 7.797 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.002773/0.002773, allocations: 59.91 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2719, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007139/0.279, allocations: 5.015 MB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.2831, allocations: 1.76 MB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.2835, allocations: 20 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.2873, allocations: 1.504 MB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.289, allocations: 0.5743 MB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.2899, allocations: 398.9 kB / 440.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009415/0.2908, allocations: 0.8017 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.292, allocations: 0.7431 MB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.2925, allocations: 362.7 kB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.2931, allocations: 434 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2932, allocations: 80 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.2937, allocations: 231.9 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2939, allocations: 187.3 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.2942, allocations: 338.4 kB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2958, allocations: 1.192 MB / 444.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2958, allocations: 0 / 444.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2958, allocations: 4 kB / 444.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.2958, allocations: 0 / 444.7 MB, free: 8.785 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.003602/0.2994, allocations: 1.293 MB / 446 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2994, allocations: 11.98 kB / 446 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.2996, allocations: 152.2 kB / 446.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.3043, allocations: 0.6209 MB / 446.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.3052, allocations: 364.1 kB / 447.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.3053, allocations: 70.38 kB / 447.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3054, allocations: 96.38 kB / 447.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3072, allocations: 1.019 MB / 448.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.3073, allocations: 0 / 448.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3074, allocations: 43.98 kB / 448.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/0.3074, allocations: 27.94 kB / 448.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.3093, allocations: 0.9213 MB / 449.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.3142, allocations: 2.913 MB / 452.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.3161, allocations: 0.7459 MB / 453 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.3165, allocations: 256 kB / 453.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.3166, allocations: 24.62 kB / 453.3 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3166, allocations: 51.2 kB / 453.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.884e-06/0.3166, allocations: 0 / 453.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001456/0.3181, allocations: 0.724 MB / 454 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.3182, allocations: 115.5 kB / 454.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.3185, allocations: 285.6 kB / 454.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.3185, allocations: 37.7 kB / 454.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.3188, allocations: 388 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.319, allocations: 234.3 kB / 455.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.3192, allocations: 142.6 kB / 455.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3194, allocations: 350.8 kB / 455.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3199, allocations: 221.9 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.3205, allocations: 435.4 kB / 456.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3217, allocations: 0.6969 MB / 456.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3217, allocations: 4 kB / 456.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001417/0.3231, allocations: 0.7586 MB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3231, allocations: 11.94 kB / 457.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3231, allocations: 4 kB / 457.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.3232, allocations: 12 kB / 457.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.3239, allocations: 188.2 kB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.3239, allocations: 19.92 kB / 457.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.3244, allocations: 83.34 kB / 458 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.3244, allocations: 39.98 kB / 458 MB, free: 10.99 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.0003108/0.3247, allocations: 217.6 kB / 458.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3248, allocations: 43.7 kB / 458.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3261, allocations: 0.6539 MB / 458.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3262, allocations: 8 kB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3262, allocations: 0 / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3262, allocations: 3.984 kB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.3286, allocations: 1.381 MB / 460.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3286, allocations: 0 / 460.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.3292, allocations: 143.8 kB / 460.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.3292, allocations: 8 kB / 460.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.3293, allocations: 16 kB / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.3293, allocations: 11.92 kB / 460.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3293, allocations: 0 / 460.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.331, allocations: 1.124 MB / 461.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.3311, allocations: 51.61 kB / 461.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.3312, allocations: 16 kB / 461.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3315, allocations: 24 kB / 461.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.3316, allocations: 44.56 kB / 461.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.3317, allocations: 27.98 kB / 461.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.3319, allocations: 177.2 kB / 462 MB, free: 6.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 0 / 462 MB, free: 6.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007525/0.3326, allocations: 227.3 kB / 462.2 MB, free: 6.75 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.002212/0.3348, allocations: 1.722 MB / 463.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.336, allocations: 0.577 MB / 464.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.336, allocations: 0 / 464.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.3365, allocations: 267.9 kB / 464.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.3371, allocations: 52.47 kB / 464.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.3443, allocations: 4.839 MB / 469.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3447, allocations: 307.8 kB / 469.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.345, allocations: 76.38 kB / 470 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.3454, allocations: 255.4 kB / 470.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3454, allocations: 0 / 470.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.3867, allocations: 10.31 MB / 480.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 0 / 480.6 MB, free: 4.195 MB / 382.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.366418085061014]