Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.0008544/0.0008544, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001071/0.001071, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9174/0.9174, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.062e-05, allocations: 6.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004054/0.004075, allocations: 3.989 MB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.006593, allocations: 1.551 MB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.006964, allocations: 11.94 kB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.007304, allocations: 134.7 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007301/0.008034, allocations: 373.4 kB / 330.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.008443, allocations: 251.4 kB / 330.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.00928, allocations: 1.013 MB / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.009523, allocations: 150.1 kB / 332 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.01015, allocations: 0.5613 MB / 332.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.01052, allocations: 327.1 kB / 332.8 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.01091, allocations: 96 kB / 332.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.01122, allocations: 215.9 kB / 333.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.01132, allocations: 199.3 kB / 333.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.01151, allocations: 291.3 kB / 333.6 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009198/0.01243, allocations: 1.227 MB / 334.9 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01244, allocations: 3.938 kB / 334.9 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01244, allocations: 0 / 334.9 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.01246, allocations: 0 / 334.9 MB, free: 5.504 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001827/0.01429, allocations: 1.042 MB / 335.9 MB, free: 4.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.01434, allocations: 15.98 kB / 335.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.966e-05/0.01443, allocations: 94.7 kB / 336 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.01463, allocations: 88.45 kB / 336.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.01523, allocations: 464.7 kB / 336.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.01533, allocations: 127 kB / 336.7 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.01546, allocations: 76.67 kB / 336.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.01622, allocations: 0.7027 MB / 337.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01624, allocations: 0 / 337.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.01627, allocations: 24 kB / 337.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01628, allocations: 12 kB / 337.5 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.01699, allocations: 0.5204 MB / 338 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.01922, allocations: 2.065 MB / 340.1 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.01988, allocations: 464.4 kB / 340.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.02023, allocations: 250 kB / 340.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.02025, allocations: 4 kB / 340.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.02028, allocations: 42.56 kB / 340.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.754e-06/0.02028, allocations: 0 / 340.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.006705/0.02698, allocations: 3.327 MB / 344.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.02702, allocations: 81.61 kB / 344.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.0275, allocations: 0.5487 MB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.02753, allocations: 37.64 kB / 344.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.02768, allocations: 324.9 kB / 345.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.0278, allocations: 218.1 kB / 345.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.02792, allocations: 106.3 kB / 345.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.02802, allocations: 370.8 kB / 345.8 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.02835, allocations: 257.1 kB / 346.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.02873, allocations: 340.5 kB / 346.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/0.02972, allocations: 0.6032 MB / 347 MB, free: 8.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.02972, allocations: 0 / 347 MB, free: 8.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009327/0.03066, allocations: 0.7399 MB / 347.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.03067, allocations: 16 kB / 347.7 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.03068, allocations: 4 kB / 347.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.03081, allocations: 32.83 kB / 347.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.03122, allocations: 167.7 kB / 347.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007404/0.03196, allocations: 1.323 MB / 349.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.03226, allocations: 35.98 kB / 349.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.03229, allocations: 27.92 kB / 349.3 MB, free: 6.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.0325, allocations: 205.6 kB / 349.5 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.03258, allocations: 63.62 kB / 349.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.03366, allocations: 0.8243 MB / 350.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.03366, allocations: 8 kB / 350.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.03367, allocations: 4 kB / 350.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.03368, allocations: 11.92 kB / 350.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.03581, allocations: 1.671 MB / 352.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03581, allocations: 0 / 352.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.03607, allocations: 107.9 kB / 352.2 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.03717, allocations: 472.4 kB / 352.7 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.0372, allocations: 12 kB / 352.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.04031, allocations: 2.996 MB / 355.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.04031, allocations: 0 / 355.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.042, allocations: 1.366 MB / 357.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.0422, allocations: 131.5 kB / 357.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.04225, allocations: 12 kB / 357.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.04253, allocations: 43.91 kB / 357.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.04263, allocations: 56.55 kB / 357.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.04266, allocations: 16 kB / 357.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003223/0.04298, allocations: 394.8 kB / 357.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04298, allocations: 0 / 357.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.04347, allocations: 196 kB / 357.9 MB, free: 13.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002002/0.04547, allocations: 1.949 MB / 359.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009469/0.04642, allocations: 0.711 MB / 360.5 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.04642, allocations: 0 / 360.5 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.04696, allocations: 0.5065 MB / 361.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.04742, allocations: 82.11 kB / 361.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/0.05356, allocations: 5.858 MB / 367 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.05377, allocations: 311 kB / 367.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.05399, allocations: 76.78 kB / 367.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.05425, allocations: 240.4 kB / 367.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.05425, allocations: 0 / 367.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.0833, allocations: 16.53 MB / 384.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.443, allocations: 10.94 kB / 384.1 MB, free: 3.441 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.core.Hstat in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv. Warning: Get data of variable transformer.core.Hstat from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.386497736908495]