Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 47.92 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007893/0.2902, allocations: 5.66 MB / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.294, allocations: 1.826 MB / 430.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.2944, allocations: 24 kB / 430.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.2978, allocations: 1.625 MB / 432.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.2997, allocations: 0.761 MB / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.3005, allocations: 275.4 kB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3017, allocations: 0.8017 MB / 434.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.3032, allocations: 0.7548 MB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.3038, allocations: 366.7 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00085/0.3047, allocations: 494.2 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.3049, allocations: 76 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/0.3056, allocations: 239.8 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.3059, allocations: 195.3 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.3064, allocations: 421.9 kB / 436.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3081, allocations: 1.168 MB / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3081, allocations: 0 / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3081, allocations: 4 kB / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3082, allocations: 0 / 438.1 MB, free: 15.87 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.003422/0.3116, allocations: 1.285 MB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3116, allocations: 8.031 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.91e-05/0.3117, allocations: 34.19 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.3118, allocations: 152.2 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.3162, allocations: 0.6521 MB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.3169, allocations: 365.3 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.317, allocations: 70.38 kB / 440.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3171, allocations: 100.3 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.319, allocations: 0.9937 MB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.319, allocations: 3.938 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.3191, allocations: 40 kB / 441.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.3191, allocations: 24 kB / 441.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.3208, allocations: 0.9174 MB / 442.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005232/0.326, allocations: 3.154 MB / 445.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.3281, allocations: 0.756 MB / 446.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.3286, allocations: 258.1 kB / 446.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.3287, allocations: 20.62 kB / 446.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.3287, allocations: 47.16 kB / 446.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.947e-06/0.3287, allocations: 0 / 446.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001601/0.3303, allocations: 0.7243 MB / 447.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.3304, allocations: 111.5 kB / 447.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.3308, allocations: 273.8 kB / 448 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.3309, allocations: 37.7 kB / 448.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.3312, allocations: 388 kB / 448.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.3314, allocations: 242 kB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.3316, allocations: 130.6 kB / 448.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3318, allocations: 346.8 kB / 449.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.3323, allocations: 229.9 kB / 449.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.3329, allocations: 435.4 kB / 449.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.3342, allocations: 0.6969 MB / 450.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3342, allocations: 0 / 450.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001317/0.3355, allocations: 0.751 MB / 451.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3355, allocations: 12.16 kB / 451.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3355, allocations: 8 kB / 451.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.3355, allocations: 12 kB / 451.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.3362, allocations: 191.7 kB / 451.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.3362, allocations: 15.94 kB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.3367, allocations: 79.45 kB / 451.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.3367, allocations: 32 kB / 451.6 MB, free: 1.844 MB / 350.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.0003453/0.3371, allocations: 221.6 kB / 451.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3372, allocations: 51.64 kB / 451.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3385, allocations: 0.6462 MB / 452.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3385, allocations: 4 kB / 452.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.3385, allocations: 4 kB / 452.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3385, allocations: 3.984 kB / 452.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.3411, allocations: 1.451 MB / 454 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3411, allocations: 0 / 454 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.3416, allocations: 143.8 kB / 454.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.3416, allocations: 4 kB / 454.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.3417, allocations: 15.94 kB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3417, allocations: 4 kB / 454.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3417, allocations: 0 / 454.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3434, allocations: 1.12 MB / 455.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3435, allocations: 51.56 kB / 455.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.3435, allocations: 19.92 kB / 455.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.3439, allocations: 20 kB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.344, allocations: 48.62 kB / 455.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.344, allocations: 20 kB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3443, allocations: 185.2 kB / 455.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3443, allocations: 0 / 455.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000826/0.3451, allocations: 223.4 kB / 455.8 MB, free: 13.54 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.002258/0.3473, allocations: 1.718 MB / 457.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.3487, allocations: 0.5724 MB / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3487, allocations: 0 / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.3492, allocations: 267.6 kB / 458.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.3498, allocations: 44.47 kB / 458.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.3572, allocations: 4.84 MB / 463.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.3578, allocations: 0.9044 MB / 464.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000298/0.3581, allocations: 80.38 kB / 464.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.3584, allocations: 255.3 kB / 464.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3584, allocations: 0 / 464.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.3957, allocations: 10.24 MB / 474.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 4.688 kB / 474.7 MB, free: 10.46 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.523028875002638]