Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001347/0.001347, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001463/0.001463, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.658/1.658, allocations: 207.6 MB / 235.3 MB, free: 10 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [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.001885/0.001885, allocations: 60.28 kB / 347.7 MB, free: 9.621 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 49.16 MB / 396.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00479/0.2872, allocations: 4.334 MB / 401.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2897, allocations: 1.654 MB / 402.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.29, allocations: 11.22 kB / 402.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2904, allocations: 128.5 kB / 403 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.2911, allocations: 373.9 kB / 403.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.2915, allocations: 217.9 kB / 403.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008309/0.2924, allocations: 0.9872 MB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.2926, allocations: 160.7 kB / 404.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.2931, allocations: 388.2 kB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.2936, allocations: 425.2 kB / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.2938, allocations: 95.56 kB / 405.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.2942, allocations: 217.6 kB / 405.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2943, allocations: 207.6 kB / 406 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.2946, allocations: 409.7 kB / 406.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2959, allocations: 1.17 MB / 407.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2959, allocations: 0 / 407.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.2959, allocations: 4 kB / 407.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.296, allocations: 1.062 kB / 407.6 MB, free: 2.879 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002351/0.2983, allocations: 1.044 MB / 408.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2983, allocations: 13.58 kB / 408.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.2985, allocations: 80.95 kB / 408.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.2992, allocations: 461.8 kB / 409.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.2993, allocations: 129 kB / 409.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.2995, allocations: 70.78 kB / 409.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.3005, allocations: 0.6037 MB / 410 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3005, allocations: 1.312 kB / 410 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.3005, allocations: 25.25 kB / 410 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3006, allocations: 17.19 kB / 410 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3016, allocations: 0.5238 MB / 410.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.3048, allocations: 2.248 MB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3059, allocations: 454.5 kB / 413.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.3064, allocations: 247.4 kB / 413.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3065, allocations: 4.656 kB / 413.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3065, allocations: 44.95 kB / 413.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.3065, allocations: 0 / 413.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01402/0.3205, allocations: 3.32 MB / 416.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3206, allocations: 88.42 kB / 416.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.3214, allocations: 0.536 MB / 417.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.3215, allocations: 36.98 kB / 417.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.3218, allocations: 322 kB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.322, allocations: 218.8 kB / 418 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.3222, allocations: 116.1 kB / 418.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3224, allocations: 372 kB / 418.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.323, allocations: 240.7 kB / 418.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.3237, allocations: 355.5 kB / 419.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3249, allocations: 0.6007 MB / 419.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3249, allocations: 1.312 kB / 419.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001616/0.3265, allocations: 0.7442 MB / 420.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3266, allocations: 6.25 kB / 420.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3266, allocations: 2.344 kB / 420.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.3267, allocations: 33.36 kB / 420.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008439/0.3276, allocations: 174 kB / 420.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3288, allocations: 1.331 MB / 422 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.3294, allocations: 41.36 kB / 422 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.3295, allocations: 28.33 kB / 422 MB, free: 9.098 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003115/0.3298, allocations: 197 kB / 422.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.33, allocations: 62.06 kB / 422.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.3319, allocations: 0.8367 MB / 423.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3319, allocations: 15.28 kB / 423.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3319, allocations: 5.125 kB / 423.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3319, allocations: 3.984 kB / 423.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.3359, allocations: 1.815 MB / 425 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3359, allocations: 8 kB / 425 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.3364, allocations: 103.9 kB / 425.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.3389, allocations: 469.8 kB / 425.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.339, allocations: 15.98 kB / 425.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.3444, allocations: 3.055 MB / 428.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3444, allocations: 0 / 428.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.3476, allocations: 1.374 MB / 430 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.3479, allocations: 139.5 kB / 430.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3481, allocations: 12 kB / 430.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.3487, allocations: 43.97 kB / 430.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3488, allocations: 52.55 kB / 430.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.3489, allocations: 16 kB / 430.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005194/0.3494, allocations: 390.9 kB / 430.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3494, allocations: 0 / 430.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000781/0.3502, allocations: 188 kB / 430.8 MB, free: 0.7266 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002971/0.3505, allocations: 147.1 kB / 430.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.3521, allocations: 0.711 MB / 431.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3521, allocations: 0 / 431.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.353, allocations: 0.5026 MB / 432.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.3537, allocations: 81.88 kB / 432.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.3566, allocations: 1.481 MB / 433.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.3572, allocations: 0.9079 MB / 434.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.3575, allocations: 72.8 kB / 434.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3577, allocations: 55.36 kB / 434.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3577, allocations: 0 / 434.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Templates: time 0.02093/0.3786, allocations: 10.9 MB / 445.6 MB, free: 1.754 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.197010200005025]