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.00158/0.00158, 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.002088/0.002088, allocations: 212.5 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.002118/0.002118, allocations: 59.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2889, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005935/0.2948, allocations: 3.496 MB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.2981, allocations: 1.675 MB / 436.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.2986, allocations: 11.94 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.3026, allocations: 2.663 MB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.3035, allocations: 226.5 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.3044, allocations: 323 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.3072, allocations: 1.825 MB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.3075, allocations: 96.36 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.3081, allocations: 329 kB / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.3088, allocations: 358.8 kB / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3089, allocations: 44 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.3092, allocations: 95.92 kB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007981/0.31, allocations: 0.8492 MB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.3112, allocations: 0.9423 MB / 444.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.3143, allocations: 2.649 MB / 446.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3143, allocations: 0 / 446.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3143, allocations: 0 / 446.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.565e-05/0.3144, allocations: 0 / 446.7 MB, free: 7.09 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.005917/0.3203, allocations: 2.843 MB / 449.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3203, allocations: 12.03 kB / 449.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.3205, allocations: 70.72 kB / 449.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.3212, allocations: 310.9 kB / 450 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.3249, allocations: 1.802 MB / 451.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.325, allocations: 110.7 kB / 451.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.3252, allocations: 52.28 kB / 451.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008281/0.326, allocations: 391 kB / 452.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.326, allocations: 0 / 452.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.3261, allocations: 24 kB / 452.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3261, allocations: 8 kB / 452.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.3268, allocations: 331.7 kB / 452.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00535/0.3322, allocations: 2.865 MB / 455.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.3329, allocations: 312 kB / 455.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.3332, allocations: 156.4 kB / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.3333, allocations: 8 kB / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.3333, allocations: 39.16 kB / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.414e-06/0.3333, allocations: 0 / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005934/0.3393, allocations: 2.398 MB / 458.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.3393, allocations: 81.55 kB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/0.3466, allocations: 5.459 MB / 464 MB, free: 5.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.3467, allocations: 37.7 kB / 464 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.3479, allocations: 1.192 MB / 465.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3481, allocations: 174.5 kB / 465.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3483, allocations: 98.12 kB / 465.5 MB, free: 4.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3485, allocations: 322 kB / 465.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.3488, allocations: 140.9 kB / 465.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.3492, allocations: 217.1 kB / 466.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.35, allocations: 380.3 kB / 466.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.35, allocations: 0 / 466.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001364/0.3513, allocations: 0.7052 MB / 467.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3513, allocations: 8 kB / 467.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3514, allocations: 0 / 467.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3514, allocations: 4 kB / 467.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.3519, allocations: 123.8 kB / 467.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3519, allocations: 8 kB / 467.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.3523, allocations: 11.98 kB / 467.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.3524, allocations: 20 kB / 467.4 MB, free: 2.047 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.001198/0.3536, allocations: 0.9231 MB / 468.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.3539, allocations: 286 kB / 468.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3555, allocations: 0.7904 MB / 469.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3555, allocations: 8 kB / 469.4 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3555, allocations: 0 / 469.4 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3555, allocations: 7.984 kB / 469.4 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3576, allocations: 1.456 MB / 470.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3576, allocations: 0 / 470.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.358, allocations: 91.88 kB / 470.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/0.3584, allocations: 100.7 kB / 471 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.3584, allocations: 12 kB / 471 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006385/0.3591, allocations: 0.6305 MB / 471.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3591, allocations: 0 / 471.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.3609, allocations: 1.102 MB / 472.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/0.3619, allocations: 430 kB / 473.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.3621, allocations: 8 kB / 473.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.3626, allocations: 23.98 kB / 473.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3627, allocations: 32.38 kB / 473.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3627, allocations: 16 kB / 473.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005846/0.3686, allocations: 3.986 MB / 477.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3686, allocations: 0 / 477.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.3694, allocations: 207.9 kB / 477.5 MB, free: 7.848 MB / 382.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.003743/0.3732, allocations: 1.931 MB / 479.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.3741, allocations: 364.8 kB / 479.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3741, allocations: 4 kB / 479.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.3746, allocations: 202.4 kB / 479.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3758, allocations: 194.3 kB / 480.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04357/0.4194, allocations: 19.42 MB / 499.5 MB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.4216, allocations: 1.821 MB / 0.4896 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007715/0.4223, allocations: 279.8 kB / 0.4899 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.4238, allocations: 0.9366 MB / 0.4908 GB, free: 14.61 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4238, allocations: 0 / 0.4908 GB, free: 14.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0942/0.518, allocations: 39.29 MB / 0.5292 GB, free: 7.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/18.67, allocations: 23.84 kB / 0.5292 GB, free: 7.414 MB / 446.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.636294479947537]