Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.00172/0.00172, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002159/0.002159, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.465/1.465, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 67.88 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.148, allocations: 53.34 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005547/0.1536, allocations: 3.45 MB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2452/0.3987, allocations: 1.658 MB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.3992, allocations: 5.875 kB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.4026, allocations: 2.663 MB / 434.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.4035, allocations: 225.5 kB / 434.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.4043, allocations: 323.5 kB / 435 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.4067, allocations: 1.815 MB / 436.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.4069, allocations: 94.77 kB / 436.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.4074, allocations: 322 kB / 437.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.4078, allocations: 357.4 kB / 437.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.4079, allocations: 48.25 kB / 437.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.4081, allocations: 94.45 kB / 437.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008189/0.4089, allocations: 0.8471 MB / 438.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.4096, allocations: 0.9383 MB / 439.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.4125, allocations: 2.659 MB / 442.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4125, allocations: 0 / 442.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4125, allocations: 0 / 442.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.763e-05/0.4126, allocations: 0 / 442.1 MB, free: 6.309 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005174/0.4177, allocations: 2.916 MB / 445.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4178, allocations: 13.56 kB / 445.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.763e-05/0.4179, allocations: 74.91 kB / 445.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/0.4185, allocations: 311.2 kB / 445.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.4218, allocations: 1.861 MB / 447.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.4219, allocations: 57.31 kB / 447.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4221, allocations: 53.39 kB / 447.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.4228, allocations: 395.9 kB / 447.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4228, allocations: 1.281 kB / 447.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.4229, allocations: 15.08 kB / 447.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4229, allocations: 9.25 kB / 447.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.4236, allocations: 335.4 kB / 448.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.4282, allocations: 2.902 MB / 451.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.4289, allocations: 293.4 kB / 451.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.4291, allocations: 160.1 kB / 451.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.4292, allocations: 12.09 kB / 451.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4292, allocations: 36.89 kB / 451.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.4292, allocations: 0 / 451.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005119/0.4343, allocations: 2.476 MB / 454 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.4344, allocations: 83.14 kB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/0.4445, allocations: 5.455 MB / 459.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4447, allocations: 36.05 kB / 459.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.4461, allocations: 1.191 MB / 460.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.4463, allocations: 176.2 kB / 461 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.4465, allocations: 92.03 kB / 461 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4467, allocations: 326.7 kB / 461.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.4471, allocations: 141.5 kB / 461.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.4475, allocations: 222.5 kB / 461.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.4482, allocations: 382.8 kB / 462.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4482, allocations: 2.219 kB / 462.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001845/0.45, allocations: 0.7024 MB / 462.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.45, allocations: 5.938 kB / 462.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.45, allocations: 2.5 kB / 462.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4501, allocations: 4.906 kB / 462.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.4506, allocations: 120.8 kB / 462.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4506, allocations: 5.719 kB / 462.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.4513, allocations: 18.86 kB / 463 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.4513, allocations: 22.84 kB / 463 MB, free: 10.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.001921/0.4533, allocations: 0.9227 MB / 463.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/0.4538, allocations: 288.6 kB / 464.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.4557, allocations: 0.7863 MB / 465 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4557, allocations: 9.5 kB / 465 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4557, allocations: 0 / 465 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4557, allocations: 5.359 kB / 465 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.4582, allocations: 1.479 MB / 466.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4582, allocations: 0 / 466.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.4587, allocations: 95.88 kB / 466.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.4591, allocations: 99 kB / 466.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4591, allocations: 15.94 kB / 466.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006252/0.4597, allocations: 0.6289 MB / 467.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4597, allocations: 7.969 kB / 467.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4616, allocations: 1.092 MB / 468.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.4628, allocations: 0.4952 MB / 468.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.463, allocations: 13.94 kB / 468.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.4635, allocations: 20.5 kB / 468.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.4635, allocations: 32.39 kB / 469 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.4636, allocations: 12 kB / 469 MB, free: 5.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006049/0.4696, allocations: 3.986 MB / 473 MB, free: 1.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4696, allocations: 0 / 473 MB, free: 1.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001241/0.4709, allocations: 208 kB / 473.2 MB, free: 1.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003839/0.4747, allocations: 1.946 MB / 475.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.4755, allocations: 353 kB / 475.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4755, allocations: 0 / 475.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.476, allocations: 210.8 kB / 475.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.4773, allocations: 197.5 kB / 475.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04822/0.5256, allocations: 19.42 MB / 495.3 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.5278, allocations: 1.825 MB / 497.1 MB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008968/0.5287, allocations: 275.8 kB / 497.4 MB, free: 9.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.5303, allocations: 0.9367 MB / 498.3 MB, free: 8.188 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5303, allocations: 0 / 498.3 MB, free: 8.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09225/0.6225, allocations: 38.98 MB / 0.5247 GB, free: 1.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.78/18.4, allocations: 15.69 kB / 0.5247 GB, free: 1.418 MB / 430.1 MB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 21.450815573800355]