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.001568/0.001568, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002269/0.002269, 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.9571/0.9571, allocations: 177 MB / 204.1 MB, free: 5.758 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 2.174e-06/2.174e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.929e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004147/0.004167, allocations: 3.971 MB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.00676, allocations: 1.562 MB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.007115, allocations: 15.94 kB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.007492, allocations: 134.7 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.008295, allocations: 369.5 kB / 330.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.008729, allocations: 247.5 kB / 330.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.009499, allocations: 1.009 MB / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.00974, allocations: 150.1 kB / 332 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.01032, allocations: 0.5574 MB / 332.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.01066, allocations: 335.1 kB / 332.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.01074, allocations: 96 kB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.01112, allocations: 211.9 kB / 333.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01125, allocations: 195.3 kB / 333.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.01148, allocations: 299.3 kB / 333.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.01258, allocations: 1.223 MB / 334.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01258, allocations: 4 kB / 334.9 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01259, allocations: 0 / 334.9 MB, free: 5.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.01261, allocations: 0 / 334.9 MB, free: 5.512 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.001835/0.01444, allocations: 1.038 MB / 335.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.0145, allocations: 15.98 kB / 335.9 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.677e-05/0.01459, allocations: 98.69 kB / 336 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.01479, allocations: 88.47 kB / 336.1 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.01547, allocations: 468.7 kB / 336.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.01558, allocations: 127 kB / 336.7 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.01571, allocations: 68.67 kB / 336.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.0165, allocations: 0.7104 MB / 337.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01651, allocations: 0 / 337.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01656, allocations: 24 kB / 337.5 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.01657, allocations: 16 kB / 337.5 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.0173, allocations: 0.5243 MB / 338 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.0196, allocations: 2.058 MB / 340.1 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.02032, allocations: 465.1 kB / 340.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.02064, allocations: 246 kB / 340.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.02066, allocations: 8 kB / 340.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.02069, allocations: 42.56 kB / 340.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/0.02069, allocations: 0 / 340.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.006398/0.02709, allocations: 3.327 MB / 344.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.02713, allocations: 85.61 kB / 344.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.0276, allocations: 0.5409 MB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.02763, allocations: 37.7 kB / 344.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.02778, allocations: 312.9 kB / 345.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.0279, allocations: 222.1 kB / 345.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02804, allocations: 114.3 kB / 345.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.02815, allocations: 370.8 kB / 345.8 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.02849, allocations: 245.2 kB / 346 MB, free: 9.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.02886, allocations: 348.5 kB / 346.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.02958, allocations: 0.5993 MB / 347 MB, free: 8.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02958, allocations: 4 kB / 347 MB, free: 8.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00105/0.03063, allocations: 0.7477 MB / 347.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.03065, allocations: 7.938 kB / 347.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.03066, allocations: 4 kB / 347.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.03082, allocations: 28.84 kB / 347.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.03122, allocations: 163.8 kB / 347.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.03201, allocations: 1.323 MB / 349.3 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.03227, allocations: 47.91 kB / 349.3 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.0323, allocations: 23.98 kB / 349.3 MB, free: 6.477 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.0002113/0.03251, allocations: 205.8 kB / 349.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.03259, allocations: 63.69 kB / 349.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.03366, allocations: 0.8281 MB / 350.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.03367, allocations: 8 kB / 350.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.03367, allocations: 4 kB / 350.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.03368, allocations: 7.922 kB / 350.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.03582, allocations: 1.675 MB / 352.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.03582, allocations: 0 / 352.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.03609, allocations: 111.9 kB / 352.2 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.03717, allocations: 463.3 kB / 352.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.0372, allocations: 23.92 kB / 352.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.04039, allocations: 2.993 MB / 355.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.04039, allocations: 0 / 355.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.04207, allocations: 1.366 MB / 357.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.04226, allocations: 135.5 kB / 357.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.04231, allocations: 12 kB / 357.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.04257, allocations: 43.91 kB / 357.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.04267, allocations: 48.56 kB / 357.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.0427, allocations: 23.98 kB / 357.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.04302, allocations: 386.9 kB / 357.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04302, allocations: 0 / 357.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.04357, allocations: 192 kB / 357.9 MB, free: 13.71 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.002078/0.04564, allocations: 1.953 MB / 359.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.04662, allocations: 0.7071 MB / 360.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.04662, allocations: 0 / 360.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.04714, allocations: 0.5026 MB / 361 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.04763, allocations: 93.92 kB / 361.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.05385, allocations: 5.862 MB / 367 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.05407, allocations: 311.1 kB / 367.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.05427, allocations: 72.75 kB / 367.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.05454, allocations: 244.4 kB / 367.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.05454, allocations: 0 / 367.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.08658, allocations: 16.52 MB / 384.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.116, allocations: 7.031 kB / 384.1 MB, free: 3.457 MB / 346.7 MB " [Timeout remaining time 652] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.093082037754357]