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.001413/0.001413, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001587/0.001587, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.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 0.001934/0.001934, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006032/0.2873, allocations: 4.414 MB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.2905, allocations: 1.667 MB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.291, allocations: 19.88 kB / 437.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.2914, allocations: 122.9 kB / 437.4 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009334/0.2924, allocations: 369 kB / 437.8 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.2929, allocations: 251.5 kB / 438 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.294, allocations: 0.9785 MB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.2943, allocations: 162.1 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.2949, allocations: 394.7 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.2954, allocations: 430.2 kB / 440 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2955, allocations: 96 kB / 440.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.296, allocations: 219.9 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.2962, allocations: 195.4 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.2966, allocations: 414 kB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.298, allocations: 1.172 MB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.298, allocations: 0 / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.298, allocations: 0 / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.298, allocations: 0 / 442 MB, free: 11.79 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002423/0.3004, allocations: 1.05 MB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3005, allocations: 8.031 kB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.3006, allocations: 102.7 kB / 443.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.3009, allocations: 88.45 kB / 443.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3017, allocations: 473.4 kB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.3018, allocations: 123 kB / 443.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.3021, allocations: 72.3 kB / 443.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.3031, allocations: 0.5981 MB / 444.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3032, allocations: 0 / 444.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.3032, allocations: 27.94 kB / 444.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3032, allocations: 16 kB / 444.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3044, allocations: 0.5205 MB / 445.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.3082, allocations: 2.251 MB / 447.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3092, allocations: 456.8 kB / 447.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.3098, allocations: 254.1 kB / 448 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3098, allocations: 7.938 kB / 448 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3098, allocations: 42.5 kB / 448.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.3098, allocations: 4 kB / 448.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01322/0.323, allocations: 3.329 MB / 451.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3231, allocations: 85.55 kB / 451.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.3239, allocations: 0.5371 MB / 452 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.324, allocations: 37.7 kB / 452.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.3242, allocations: 332.8 kB / 452.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.3244, allocations: 210.2 kB / 452.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3246, allocations: 114.3 kB / 452.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3248, allocations: 374.8 kB / 453.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.3253, allocations: 245.1 kB / 453.3 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.326, allocations: 352.6 kB / 453.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3272, allocations: 0.6071 MB / 454.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3272, allocations: 0 / 454.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001629/0.3288, allocations: 0.7438 MB / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3288, allocations: 8 kB / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3288, allocations: 0 / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.329, allocations: 32.83 kB / 455.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.3299, allocations: 171.8 kB / 455.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.3311, allocations: 1.323 MB / 456.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.3317, allocations: 35.98 kB / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.3318, allocations: 23.98 kB / 456.6 MB, free: 12.68 MB / 366.1 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.0003662/0.3321, allocations: 201.8 kB / 456.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3323, allocations: 71.56 kB / 456.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.3342, allocations: 0.832 MB / 457.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3342, allocations: 15.94 kB / 457.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3342, allocations: 0 / 457.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3342, allocations: 3.984 kB / 457.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.3382, allocations: 1.804 MB / 459.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3382, allocations: 11.94 kB / 459.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.3387, allocations: 107.8 kB / 459.7 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.3411, allocations: 476.2 kB / 460.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.3412, allocations: 15.98 kB / 460.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.3465, allocations: 3.05 MB / 463.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3465, allocations: 0 / 463.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.3497, allocations: 1.37 MB / 464.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.3501, allocations: 127.5 kB / 464.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.3501, allocations: 16 kB / 464.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.3508, allocations: 47.91 kB / 464.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.3509, allocations: 52.55 kB / 464.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.351, allocations: 16 kB / 464.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.3515, allocations: 390.9 kB / 465.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3515, allocations: 3.938 kB / 465.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007545/0.3522, allocations: 192.1 kB / 465.4 MB, free: 3.707 MB / 366.1 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.003561/0.3558, allocations: 1.956 MB / 467.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.3576, allocations: 0.711 MB / 468 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3576, allocations: 0 / 468 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.3586, allocations: 0.5065 MB / 468.6 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.3595, allocations: 91.09 kB / 468.6 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.3696, allocations: 5.948 MB / 474.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.3702, allocations: 0.9003 MB / 475.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003864/0.3706, allocations: 72.8 kB / 475.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.371, allocations: 239.3 kB / 475.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.371, allocations: 0 / 475.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.4236, allocations: 16.35 MB / 492.1 MB, free: 8.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.47, allocations: 11.86 kB / 492.2 MB, free: 8.891 MB / 398.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/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: 17.345818747999147]