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.001845/0.001845, allocations: 113.6 kB / 21.19 MB, free: 0.5547 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.002315/0.002315, allocations: 208.7 kB / 24.49 MB, free: 3.91 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.445/1.445, allocations: 207.6 MB / 235.3 MB, free: 9.988 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [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.001933/0.001933, allocations: 63.92 kB / 347.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 49.15 MB / 396.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004773/0.281, allocations: 3.376 MB / 400.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2833, allocations: 1.42 MB / 401.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.2836, allocations: 6.312 kB / 401.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.2871, allocations: 2.669 MB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.2877, allocations: 179.2 kB / 404.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.2885, allocations: 292.4 kB / 404.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.2908, allocations: 1.804 MB / 406.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.291, allocations: 94.34 kB / 406.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.2913, allocations: 325.6 kB / 407 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.2917, allocations: 355.2 kB / 407.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.2918, allocations: 43.5 kB / 407.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.292, allocations: 72.31 kB / 407.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005996/0.2926, allocations: 0.8459 MB / 408.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.2932, allocations: 0.9406 MB / 409.2 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.2957, allocations: 2.617 MB / 411.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2957, allocations: 0 / 411.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2957, allocations: 0 / 411.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.2957, allocations: 0 / 411.9 MB, free: 1.641 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.004316/0.3001, allocations: 2.823 MB / 414.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3001, allocations: 14.22 kB / 414.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.3006, allocations: 293.8 kB / 415 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.3034, allocations: 1.791 MB / 416.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3036, allocations: 112.1 kB / 416.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.3038, allocations: 45.73 kB / 416.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.3045, allocations: 400 kB / 417.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3045, allocations: 3.953 kB / 417.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.3046, allocations: 14.97 kB / 417.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3046, allocations: 9.75 kB / 417.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.3053, allocations: 335.6 kB / 417.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.3101, allocations: 2.849 MB / 420.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.3108, allocations: 301 kB / 420.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.3111, allocations: 153.6 kB / 421 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.3112, allocations: 8 kB / 421 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3112, allocations: 38.56 kB / 421 MB, free: 10.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.3112, allocations: 0 / 421 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.00534/0.3166, allocations: 2.374 MB / 423.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.3166, allocations: 81.55 kB / 423.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006872/0.3235, allocations: 5.427 MB / 428.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.3236, allocations: 33.7 kB / 428.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.3248, allocations: 1.211 MB / 430.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.325, allocations: 178.5 kB / 430.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3251, allocations: 94.17 kB / 430.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3253, allocations: 325.9 kB / 430.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.3256, allocations: 140.9 kB / 430.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.326, allocations: 233 kB / 431.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.3267, allocations: 376.3 kB / 431.5 MB, free: 364 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3267, allocations: 4 kB / 431.5 MB, free: 360 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001263/0.328, allocations: 0.6976 MB / 432.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.328, allocations: 4 kB / 432.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.328, allocations: 4 kB / 432.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.3281, allocations: 4 kB / 432.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.3286, allocations: 115.9 kB / 432.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.3286, allocations: 7.938 kB / 432.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.329, allocations: 23.92 kB / 432.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3291, allocations: 16 kB / 432.3 MB, free: 15.47 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.001198/0.3303, allocations: 0.923 MB / 433.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.3306, allocations: 286.1 kB / 433.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.3321, allocations: 0.7746 MB / 434.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3321, allocations: 4 kB / 434.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3321, allocations: 0 / 434.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3321, allocations: 8 kB / 434.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3339, allocations: 1.437 MB / 435.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3339, allocations: 0 / 435.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.3344, allocations: 99.81 kB / 435.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003422/0.3347, allocations: 80.81 kB / 435.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.3348, allocations: 11.98 kB / 435.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006308/0.3354, allocations: 0.6383 MB / 436.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3354, allocations: 0 / 436.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.3371, allocations: 1.075 MB / 437.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/0.3381, allocations: 430 kB / 438.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.3383, allocations: 15.98 kB / 438.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.3388, allocations: 12 kB / 438.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.3388, allocations: 32.38 kB / 438.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.3389, allocations: 19.98 kB / 438.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005304/0.3442, allocations: 3.974 MB / 442.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3442, allocations: 0 / 442.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.345, allocations: 207.9 kB / 442.3 MB, free: 5.359 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.001638/0.3466, allocations: 408.4 kB / 442.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008786/0.3475, allocations: 364.8 kB / 443.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3475, allocations: 0 / 443.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.348, allocations: 202.4 kB / 443.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3492, allocations: 195.7 kB / 443.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.3575, allocations: 5.482 MB / 449 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.3593, allocations: 1.814 MB / 450.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006666/0.36, allocations: 275.6 kB / 451 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.3603, allocations: 83.44 kB / 451.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3603, allocations: 0 / 451.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.03542/0.3957, allocations: 15.87 MB / 467 MB, free: 12.57 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/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: 5.084632880985737]