Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.008285/0.008285, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 51.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2604, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004561/0.265, allocations: 3.378 MB / 400.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2671, allocations: 1.436 MB / 402 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.2673, allocations: 8.656 kB / 402 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.2706, allocations: 2.658 MB / 404.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.2711, allocations: 175.5 kB / 404.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.2718, allocations: 292.3 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.274, allocations: 1.802 MB / 406.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.2742, allocations: 98.66 kB / 407 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.2746, allocations: 322.3 kB / 407.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2749, allocations: 350.3 kB / 407.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.275, allocations: 44 kB / 407.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2752, allocations: 76.95 kB / 407.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.2757, allocations: 0.8447 MB / 408.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.2762, allocations: 0.9409 MB / 409.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.278, allocations: 2.619 MB / 412.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.278, allocations: 1.219 kB / 412.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.278, allocations: 0 / 412.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.229e-05/0.278, allocations: 0 / 412.2 MB, free: 1.258 MB / 318.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.004107/0.2821, allocations: 2.825 MB / 415 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2822, allocations: 13.27 kB / 415 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.583e-05/0.2822, allocations: 10.25 kB / 415 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.504e-05/0.2823, allocations: 74.88 kB / 415.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.2828, allocations: 293.7 kB / 415.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.2856, allocations: 1.795 MB / 417.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2857, allocations: 112.1 kB / 417.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2859, allocations: 44.86 kB / 417.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.2866, allocations: 400.2 kB / 417.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2866, allocations: 0 / 417.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.2867, allocations: 19.78 kB / 417.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2867, allocations: 8.344 kB / 417.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.2874, allocations: 329 kB / 418 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.2923, allocations: 2.853 MB / 420.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.293, allocations: 305.9 kB / 421.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.2933, allocations: 149.7 kB / 421.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2933, allocations: 11.94 kB / 421.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2934, allocations: 38.56 kB / 421.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.434e-06/0.2934, allocations: 0 / 421.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005128/0.2985, allocations: 2.36 MB / 423.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2986, allocations: 85.48 kB / 423.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006892/0.3055, allocations: 5.439 MB / 429.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.3055, allocations: 29.7 kB / 429.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.3068, allocations: 1.211 MB / 430.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.3069, allocations: 178.4 kB / 430.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3071, allocations: 90.14 kB / 430.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3072, allocations: 330 kB / 431.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.3076, allocations: 136.9 kB / 431.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.308, allocations: 217.1 kB / 431.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.3087, allocations: 392.2 kB / 431.8 MB, free: 212 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3087, allocations: 0 / 431.8 MB, free: 212 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001471/0.3102, allocations: 0.6895 MB / 432.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3102, allocations: 4 kB / 432.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3102, allocations: 8.25 kB / 432.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3102, allocations: 7.938 kB / 432.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.3107, allocations: 123.8 kB / 432.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3108, allocations: 7.938 kB / 432.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3112, allocations: 19.95 kB / 432.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3112, allocations: 19.98 kB / 432.7 MB, free: 15.32 MB / 350.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.001279/0.3125, allocations: 0.9192 MB / 433.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.3128, allocations: 278.1 kB / 433.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3143, allocations: 0.7824 MB / 434.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3143, allocations: 4 kB / 434.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3143, allocations: 0 / 434.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3143, allocations: 3.984 kB / 434.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.3163, allocations: 1.437 MB / 436.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3163, allocations: 7.938 kB / 436.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.3167, allocations: 99.88 kB / 436.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/0.3171, allocations: 84.78 kB / 436.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.3171, allocations: 12 kB / 436.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006304/0.3178, allocations: 0.6305 MB / 437 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.3178, allocations: 7.969 kB / 437 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.3196, allocations: 1.075 MB / 438 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.3204, allocations: 422.1 kB / 438.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.3207, allocations: 12 kB / 438.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.3212, allocations: 19.98 kB / 438.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.3213, allocations: 36.31 kB / 438.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3213, allocations: 8 kB / 438.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005769/0.3271, allocations: 3.974 MB / 442.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3271, allocations: 4 kB / 442.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008848/0.3279, allocations: 207.9 kB / 442.7 MB, free: 5.211 MB / 350.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.003788/0.3317, allocations: 1.922 MB / 444.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.3326, allocations: 360.9 kB / 445 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3326, allocations: 4.5 kB / 445 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.3331, allocations: 206.4 kB / 445.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3344, allocations: 195 kB / 445.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/0.3793, allocations: 19.36 MB / 464.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.3816, allocations: 1.818 MB / 466.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008259/0.3824, allocations: 279.6 kB / 466.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/0.3839, allocations: 0.9328 MB / 467.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3839, allocations: 0 / 467.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/0.4659, allocations: 39.11 MB / 0.495 GB, free: 4.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/17.62, allocations: 15.8 kB / 0.495 GB, free: 4.582 MB / 414.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 20.32698467199225]