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.001981/0.001981, allocations: 110 kB / 20.43 MB, free: 1.453 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.002438/0.002438, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.002069/0.002069, allocations: 63.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2759, allocations: 53.4 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006366/0.2822, allocations: 4.415 MB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.2857, allocations: 1.667 MB / 437.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.2863, allocations: 11.94 kB / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.2869, allocations: 126.8 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.2881, allocations: 366.6 kB / 437.8 MB, free: 52 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.2888, allocations: 243.6 kB / 438 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.2904, allocations: 0.9785 MB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.2908, allocations: 170.1 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.2916, allocations: 390.8 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.2924, allocations: 426.2 kB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.2926, allocations: 96 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.2932, allocations: 223.9 kB / 440.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.2934, allocations: 195.3 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.294, allocations: 414.1 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.2957, allocations: 1.175 MB / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2957, allocations: 0 / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2957, allocations: 0 / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.978e-05/0.2957, allocations: 4 kB / 442 MB, free: 11.77 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.002977/0.2987, allocations: 1.046 MB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2987, allocations: 8.031 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.2989, allocations: 106.7 kB / 443.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.2991, allocations: 88.41 kB / 443.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.3, allocations: 477.4 kB / 443.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3002, allocations: 123 kB / 443.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.3004, allocations: 72.28 kB / 443.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3015, allocations: 0.5981 MB / 444.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3015, allocations: 4 kB / 444.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.3016, allocations: 28 kB / 444.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.3016, allocations: 12 kB / 444.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3027, allocations: 0.5243 MB / 445.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.3063, allocations: 2.247 MB / 447.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.3073, allocations: 463.7 kB / 447.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.3078, allocations: 246.1 kB / 448 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3079, allocations: 12 kB / 448.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3079, allocations: 46.44 kB / 448.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.3079, allocations: 0 / 448.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01298/0.3209, allocations: 3.325 MB / 451.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.321, allocations: 93.55 kB / 451.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.3217, allocations: 0.5293 MB / 452 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.3218, allocations: 37.69 kB / 452.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.322, allocations: 320.9 kB / 452.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3222, allocations: 218.2 kB / 452.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3224, allocations: 122.3 kB / 452.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3226, allocations: 370.8 kB / 453.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.3233, allocations: 245.2 kB / 453.3 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.3239, allocations: 348.5 kB / 453.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3252, allocations: 0.6032 MB / 454.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3252, allocations: 0 / 454.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001553/0.3267, allocations: 0.7516 MB / 455 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3267, allocations: 8 kB / 455 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3267, allocations: 0 / 455 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.3269, allocations: 28.84 kB / 455.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.3277, allocations: 167.8 kB / 455.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.329, allocations: 1.331 MB / 456.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.3295, allocations: 31.98 kB / 456.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.3296, allocations: 27.98 kB / 456.6 MB, free: 12.66 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.0003116/0.3299, allocations: 205.8 kB / 456.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3301, allocations: 67.64 kB / 456.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.332, allocations: 0.8398 MB / 457.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.332, allocations: 11.94 kB / 457.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.332, allocations: 0 / 457.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.332, allocations: 3.984 kB / 457.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.3359, allocations: 1.808 MB / 459.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3359, allocations: 3.938 kB / 459.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.3365, allocations: 103.9 kB / 459.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.3389, allocations: 483.4 kB / 460.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.3389, allocations: 15.98 kB / 460.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/0.3444, allocations: 3.058 MB / 463.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3444, allocations: 0 / 463.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.3475, allocations: 1.366 MB / 464.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.3479, allocations: 135.5 kB / 464.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.348, allocations: 8 kB / 464.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.3487, allocations: 43.97 kB / 464.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3488, allocations: 52.55 kB / 464.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.3489, allocations: 16 kB / 464.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005768/0.3495, allocations: 394.9 kB / 465.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3495, allocations: 0 / 465.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008146/0.3503, allocations: 188.1 kB / 465.4 MB, free: 3.688 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.003594/0.3539, allocations: 1.965 MB / 467.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.3555, allocations: 0.711 MB / 468.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3555, allocations: 0 / 468.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009865/0.3565, allocations: 0.4988 MB / 468.6 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.3572, allocations: 96.97 kB / 468.6 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.368, allocations: 5.949 MB / 474.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.3687, allocations: 0.9003 MB / 475.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.3691, allocations: 72.8 kB / 475.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.3695, allocations: 239.3 kB / 475.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3695, allocations: 0 / 475.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/0.4282, allocations: 16.33 MB / 492.1 MB, free: 8.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.35, allocations: 15.84 kB / 492.1 MB, free: 8.879 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.039002393838018]