Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001487/0.001487, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00149/0.00149, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 48.02 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2571, allocations: 53.37 MB / 431.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005377/0.2624, allocations: 3.487 MB / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2654, allocations: 1.675 MB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2657, allocations: 11.94 kB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.2686, allocations: 2.663 MB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005963/0.2692, allocations: 226.6 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008029/0.27, allocations: 322.7 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.2722, allocations: 1.825 MB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.2724, allocations: 104.4 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.2729, allocations: 328.9 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.2734, allocations: 358.7 kB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.2735, allocations: 44 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2737, allocations: 91.98 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.2744, allocations: 0.8414 MB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007269/0.2751, allocations: 0.9462 MB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.2776, allocations: 2.649 MB / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2776, allocations: 0 / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2776, allocations: 0 / 447.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.615e-05/0.2776, allocations: 0 / 447.5 MB, free: 7.383 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.004152/0.2818, allocations: 2.847 MB / 450.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2818, allocations: 12.03 kB / 450.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.2818, allocations: 9.188 kB / 450.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.2819, allocations: 78.7 kB / 450.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.2824, allocations: 306.9 kB / 450.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.285, allocations: 1.802 MB / 452.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2851, allocations: 110.2 kB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2853, allocations: 47.98 kB / 452.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.286, allocations: 398.9 kB / 453.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.286, allocations: 4 kB / 453.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.2861, allocations: 12 kB / 453.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2861, allocations: 8 kB / 453.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.2868, allocations: 335.7 kB / 453.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.2908, allocations: 2.857 MB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.2915, allocations: 315.8 kB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.2918, allocations: 149.7 kB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.2918, allocations: 7.938 kB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2918, allocations: 43.14 kB / 456.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2918, allocations: 0 / 456.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004866/0.2967, allocations: 2.398 MB / 459.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2968, allocations: 97.52 kB / 459.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006528/0.3033, allocations: 5.452 MB / 464.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/0.3034, allocations: 33.7 kB / 464.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.3046, allocations: 1.188 MB / 465.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.3048, allocations: 178.5 kB / 466.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.305, allocations: 90.14 kB / 466.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3051, allocations: 325.9 kB / 466.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.3055, allocations: 144.9 kB / 466.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.3059, allocations: 217.1 kB / 466.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.3066, allocations: 380.3 kB / 467.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3066, allocations: 8 kB / 467.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001227/0.3078, allocations: 0.6933 MB / 467.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3078, allocations: 8 kB / 467.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3078, allocations: 0 / 467.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3079, allocations: 8.25 kB / 468 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3084, allocations: 123.8 kB / 468.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3084, allocations: 7.984 kB / 468.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.3088, allocations: 12 kB / 468.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3088, allocations: 20 kB / 468.1 MB, free: 2.324 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.001127/0.3099, allocations: 0.923 MB / 469 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.3103, allocations: 290 kB / 469.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3117, allocations: 0.8021 MB / 470.1 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3117, allocations: 4 kB / 470.1 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3117, allocations: 0 / 470.1 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3117, allocations: 0 / 470.1 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.3134, allocations: 1.453 MB / 471.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3134, allocations: 4 kB / 471.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.3139, allocations: 99.88 kB / 471.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/0.3143, allocations: 88.78 kB / 471.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3143, allocations: 11.98 kB / 471.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.3149, allocations: 0.6267 MB / 472.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3149, allocations: 3.984 kB / 472.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3167, allocations: 1.102 MB / 473.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/0.3176, allocations: 430 kB / 473.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.3178, allocations: 12 kB / 473.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.3184, allocations: 15.98 kB / 474 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.3184, allocations: 32.38 kB / 474 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3185, allocations: 12 kB / 474 MB, free: 12.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005548/0.324, allocations: 3.986 MB / 478 MB, free: 8.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.324, allocations: 4 kB / 478 MB, free: 8.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.3248, allocations: 219.9 kB / 478.2 MB, free: 8.117 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.003577/0.3284, allocations: 1.934 MB / 480.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008712/0.3293, allocations: 361.3 kB / 480.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3293, allocations: 4.125 kB / 480.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.3297, allocations: 198.4 kB / 480.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.3309, allocations: 202.8 kB / 480.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04109/0.372, allocations: 19.42 MB / 0.4886 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.374, allocations: 1.825 MB / 0.4904 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.3746, allocations: 275.8 kB / 0.4906 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.376, allocations: 0.9366 MB / 0.4915 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.376, allocations: 0 / 0.4915 GB, free: 14.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07935/0.4553, allocations: 39.34 MB / 0.53 GB, free: 7.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/18.03, allocations: 10.59 kB / 0.53 GB, free: 7.742 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.977333536022343]