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.001894/0.001894, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002513/0.002513, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 59.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 53.4 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005797/0.2939, allocations: 3.48 MB / 435.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.2971, allocations: 1.69 MB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.2975, allocations: 7.938 kB / 437.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.3012, allocations: 2.663 MB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.302, allocations: 222.5 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.303, allocations: 330.8 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.3056, allocations: 1.821 MB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3059, allocations: 100.4 kB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.3065, allocations: 328.9 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.3071, allocations: 354.8 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3072, allocations: 48 kB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.3075, allocations: 91.98 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007372/0.3082, allocations: 0.8491 MB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3092, allocations: 0.9501 MB / 444.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.3121, allocations: 2.642 MB / 447.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3121, allocations: 7.938 kB / 447.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3121, allocations: 0 / 447.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-05/0.3122, allocations: 0 / 447.5 MB, free: 7.098 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.004722/0.3169, allocations: 2.836 MB / 450.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.317, allocations: 8.031 kB / 450.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.475e-05/0.317, allocations: 9.188 kB / 450.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.657e-05/0.3171, allocations: 78.7 kB / 450.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.3176, allocations: 310.9 kB / 450.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.3203, allocations: 1.798 MB / 452.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.3204, allocations: 106.7 kB / 452.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3206, allocations: 56.09 kB / 452.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.3213, allocations: 398.9 kB / 453.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3213, allocations: 7.922 kB / 453.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.3214, allocations: 16 kB / 453.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3214, allocations: 8 kB / 453.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.3221, allocations: 327.8 kB / 453.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.3264, allocations: 2.865 MB / 456.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.327, allocations: 308.1 kB / 456.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.3273, allocations: 160.4 kB / 456.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.3274, allocations: 8 kB / 456.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3274, allocations: 35.16 kB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.893e-06/0.3274, allocations: 0 / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005009/0.3324, allocations: 2.401 MB / 459.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3325, allocations: 85.55 kB / 459.3 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006785/0.3393, allocations: 5.452 MB / 464.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.3393, allocations: 37.7 kB / 464.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.3407, allocations: 1.192 MB / 466 MB, free: 4.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.3409, allocations: 178.5 kB / 466.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.3411, allocations: 90.08 kB / 466.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3413, allocations: 322 kB / 466.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3417, allocations: 140.9 kB / 466.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.3422, allocations: 221.1 kB / 466.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.343, allocations: 384.3 kB / 467.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.343, allocations: 0 / 467.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001711/0.3447, allocations: 0.705 MB / 468 MB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3448, allocations: 4 kB / 468 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3448, allocations: 4 kB / 468 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.3448, allocations: 4 kB / 468 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3453, allocations: 119.8 kB / 468.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3453, allocations: 4 kB / 468.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.3459, allocations: 20.2 kB / 468.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.3459, allocations: 20 kB / 468.2 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.001672/0.3476, allocations: 0.923 MB / 469.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/0.3481, allocations: 286.1 kB / 469.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.3497, allocations: 0.7943 MB / 470.2 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3497, allocations: 8 kB / 470.2 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3497, allocations: 7.938 kB / 470.2 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3497, allocations: 3.984 kB / 470.2 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.3517, allocations: 1.445 MB / 471.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3517, allocations: 0 / 471.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.3522, allocations: 99.81 kB / 471.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/0.3525, allocations: 96.72 kB / 471.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.3526, allocations: 19.92 kB / 471.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/0.3532, allocations: 0.6266 MB / 472.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3532, allocations: 4.031 kB / 472.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.355, allocations: 1.09 MB / 473.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/0.3559, allocations: 430 kB / 474 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.3561, allocations: 12 kB / 474 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.3565, allocations: 19.98 kB / 474 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3566, allocations: 32.38 kB / 474 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.3566, allocations: 12 kB / 474.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005258/0.3619, allocations: 3.99 MB / 478 MB, free: 8.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3619, allocations: 0 / 478 MB, free: 8.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008734/0.3628, allocations: 211.9 kB / 478.2 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.003769/0.3665, allocations: 1.942 MB / 480.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.3674, allocations: 360.9 kB / 480.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3674, allocations: 0 / 480.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3679, allocations: 202.9 kB / 480.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3691, allocations: 191.4 kB / 480.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/0.4093, allocations: 19.42 MB / 0.4886 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.4112, allocations: 1.825 MB / 0.4904 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00064/0.4118, allocations: 279.8 kB / 0.4907 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.4132, allocations: 0.9366 MB / 0.4916 GB, free: 14.61 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4132, allocations: 0 / 0.4916 GB, free: 14.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08736/0.5005, allocations: 39.32 MB / 0.53 GB, free: 7.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.12, allocations: 10.58 kB / 0.53 GB, free: 7.402 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: 22.27329300501151]