Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 118.3 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 47.92 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 53.33 MB / 427 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007425/0.1091, allocations: 5.66 MB / 432.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1126, allocations: 1.884 MB / 434.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.1131, allocations: 20 kB / 434.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.1167, allocations: 1.617 MB / 436.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.1181, allocations: 0.6019 MB / 436.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.119, allocations: 406.9 kB / 437.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009671/0.12, allocations: 0.8017 MB / 438 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.121, allocations: 0.6651 MB / 438.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.1215, allocations: 370.6 kB / 439 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.122, allocations: 494.2 kB / 439.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1221, allocations: 79.94 kB / 439.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.1226, allocations: 251.8 kB / 439.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1228, allocations: 183.4 kB / 440 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.1232, allocations: 421.9 kB / 440.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1245, allocations: 1.175 MB / 441.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1245, allocations: 0 / 441.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1245, allocations: 0 / 441.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1245, allocations: 0 / 441.6 MB, free: 6.18 MB / 366.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.003319/0.1279, allocations: 1.38 MB / 443 MB, free: 4.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1279, allocations: 8.031 kB / 443 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.569e-05/0.1279, allocations: 26.19 kB / 443 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.1281, allocations: 152.3 kB / 443.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.1327, allocations: 0.6209 MB / 443.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.1333, allocations: 415.2 kB / 444.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.1334, allocations: 74.38 kB / 444.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1335, allocations: 92.38 kB / 444.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.1352, allocations: 1.001 MB / 445.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1353, allocations: 0 / 445.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.829e-05/0.1353, allocations: 40 kB / 445.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1354, allocations: 24 kB / 445.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.1371, allocations: 0.9292 MB / 446.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1797/0.3168, allocations: 3.43 MB / 449.8 MB, free: 22.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.3188, allocations: 2.18 MB / 451.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.3192, allocations: 253.7 kB / 452.2 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3193, allocations: 183.4 kB / 452.4 MB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3194, allocations: 43.33 kB / 452.4 MB, free: 20.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.376e-06/0.3194, allocations: 1.094 kB / 452.4 MB, free: 20.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001407/0.3208, allocations: 0.7198 MB / 453.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3208, allocations: 114.4 kB / 453.3 MB, free: 19.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3211, allocations: 280.9 kB / 453.5 MB, free: 19.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.3211, allocations: 36.23 kB / 453.6 MB, free: 19.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.3213, allocations: 391.6 kB / 453.9 MB, free: 19.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3215, allocations: 236.2 kB / 454.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.3217, allocations: 135.4 kB / 454.3 MB, free: 19.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.3218, allocations: 349 kB / 454.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.3222, allocations: 227.5 kB / 454.9 MB, free: 18.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.3227, allocations: 434.5 kB / 455.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.3237, allocations: 0.7014 MB / 456 MB, free: 18.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.3237, allocations: 5.25 kB / 456 MB, free: 18.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001254/0.325, allocations: 0.7551 MB / 456.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.325, allocations: 8.438 kB / 456.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.325, allocations: 7.75 kB / 456.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.325, allocations: 10.06 kB / 456.8 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.3257, allocations: 191.3 kB / 457 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.3257, allocations: 15.7 kB / 457 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.3261, allocations: 83.36 kB / 457.1 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.3262, allocations: 33.7 kB / 457.1 MB, free: 17.68 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.0002312/0.3264, allocations: 225 kB / 457.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3265, allocations: 43.19 kB / 457.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3277, allocations: 0.6424 MB / 458 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3277, allocations: 13.52 kB / 458 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3277, allocations: 2.125 kB / 458 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3277, allocations: 11.89 kB / 458 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3299, allocations: 1.476 MB / 459.5 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3299, allocations: 8.625 kB / 459.5 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.3305, allocations: 135.6 kB / 459.6 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3305, allocations: 3.891 kB / 459.6 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3306, allocations: 15.61 kB / 459.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3306, allocations: 3.344 kB / 459.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3306, allocations: 4.594 kB / 459.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.332, allocations: 1.13 MB / 460.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.332, allocations: 124.3 kB / 460.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.3321, allocations: 19.81 kB / 460.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.3324, allocations: 20.95 kB / 461 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3325, allocations: 43 kB / 461 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3326, allocations: 24.5 kB / 461 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3327, allocations: 189.2 kB / 461.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3327, allocations: 0 / 461.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007293/0.3335, allocations: 227.5 kB / 461.4 MB, free: 15.39 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.001749/0.3352, allocations: 1.715 MB / 463.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3363, allocations: 0.5681 MB / 463.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3363, allocations: 6 kB / 463.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.3367, allocations: 269.4 kB / 464 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3372, allocations: 38.16 kB / 464 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.3426, allocations: 4.848 MB / 468.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.343, allocations: 0.8988 MB / 469.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3432, allocations: 80.97 kB / 469.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.3435, allocations: 258.9 kB / 470.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3435, allocations: 0 / 470.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3733, allocations: 9.787 MB / 479.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/8.918, allocations: 13.91 kB / 479.9 MB, free: 6.941 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.71711597504327]