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.0007935/0.0007935, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007303/0.0007303, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8797/0.8797, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.657e-05, allocations: 5.516 kB / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005147/0.005164, allocations: 5.001 MB / 323.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.007552, allocations: 1.701 MB / 325.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.007865, allocations: 23.94 kB / 325.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.009559, allocations: 1.578 MB / 326.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01057, allocations: 0.7302 MB / 327.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.01097, allocations: 286.5 kB / 327.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.01161, allocations: 0.8324 MB / 328.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.01255, allocations: 0.7471 MB / 329.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.01308, allocations: 0.5106 MB / 329.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.01367, allocations: 375 kB / 330.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.01374, allocations: 80 kB / 330.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.01409, allocations: 227.7 kB / 330.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.01417, allocations: 191.3 kB / 330.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.0144, allocations: 287.2 kB / 331 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.01532, allocations: 1.18 MB / 332.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01532, allocations: 4 kB / 332.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01532, allocations: 0 / 332.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.01534, allocations: 0 / 332.2 MB, free: 8.434 MB / 298.7 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.002163/0.0175, allocations: 1.288 MB / 333.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01754, allocations: 12.92 kB / 333.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.01766, allocations: 148.3 kB / 333.6 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.01991, allocations: 0.656 MB / 334.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.02038, allocations: 360.6 kB / 334.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.02041, allocations: 74.38 kB / 334.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.02051, allocations: 96.33 kB / 334.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.02161, allocations: 1.015 MB / 335.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.02163, allocations: 192 / 335.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.02168, allocations: 40.12 kB / 335.8 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.0217, allocations: 27.98 kB / 335.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.02302, allocations: 0.9174 MB / 336.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.02584, allocations: 2.892 MB / 339.7 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.02689, allocations: 0.7521 MB / 340.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.02716, allocations: 259.4 kB / 340.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.02721, allocations: 16.66 kB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.02723, allocations: 39.22 kB / 340.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.02723, allocations: 0 / 340.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.0008644/0.02809, allocations: 0.7243 MB / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.02814, allocations: 123.4 kB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.02833, allocations: 277.6 kB / 341.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.02835, allocations: 41.64 kB / 341.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.0285, allocations: 387.9 kB / 342.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02861, allocations: 238 kB / 342.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.02874, allocations: 134.6 kB / 342.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.02883, allocations: 350.8 kB / 343 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.02909, allocations: 221.9 kB / 343.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.02967, allocations: 447.4 kB / 343.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.0303, allocations: 0.7008 MB / 344.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.03031, allocations: 0 / 344.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007635/0.03107, allocations: 0.7472 MB / 345.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.03109, allocations: 8 kB / 345.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.03109, allocations: 12.09 kB / 345.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.03111, allocations: 15.94 kB / 345.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.03147, allocations: 191.7 kB / 345.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.03149, allocations: 15.94 kB / 345.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.03169, allocations: 83.39 kB / 345.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.03172, allocations: 32 kB / 345.4 MB, free: 10.64 MB / 314.7 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.0001731/0.0319, allocations: 221.6 kB / 345.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.03196, allocations: 43.77 kB / 345.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/0.03266, allocations: 0.654 MB / 346.3 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.03267, allocations: 11.94 kB / 346.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.03267, allocations: 0 / 346.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.03268, allocations: 3.984 kB / 346.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.03409, allocations: 1.362 MB / 347.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.03409, allocations: 7.938 kB / 347.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.03439, allocations: 139.8 kB / 347.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.03439, allocations: 4 kB / 347.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.03441, allocations: 15.98 kB / 347.9 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.03442, allocations: 4 kB / 347.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.03442, allocations: 0 / 347.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.03541, allocations: 1.12 MB / 349 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.03545, allocations: 51.62 kB / 349 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.03549, allocations: 12.06 kB / 349.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.03566, allocations: 27.98 kB / 349.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.03573, allocations: 52.5 kB / 349.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.03575, allocations: 16 kB / 349.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.03586, allocations: 181.2 kB / 349.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03586, allocations: 4 kB / 349.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.0363, allocations: 227.3 kB / 349.6 MB, free: 6.418 MB / 314.7 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.001428/0.03773, allocations: 1.707 MB / 351.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.03834, allocations: 0.565 MB / 351.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03834, allocations: 0 / 351.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.03861, allocations: 272.1 kB / 352.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.03897, allocations: 52.36 kB / 352.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.04288, allocations: 4.773 MB / 356.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.04306, allocations: 303.7 kB / 357.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.04324, allocations: 80.39 kB / 357.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.04367, allocations: 260.4 kB / 357.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04367, allocations: 4 kB / 357.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.06608, allocations: 10.24 MB / 367.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.232, allocations: 7.969 kB / 367.8 MB, free: 4.012 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/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: 8.987561846151948]