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.001762/0.001762, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.001874/0.001874, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.441/1.441, allocations: 207.6 MB / 236 MB, free: 9.977 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.001818/0.001818, allocations: 47.94 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.284, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005479/0.2895, allocations: 4.331 MB / 401.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.2925, allocations: 1.657 MB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.293, allocations: 11.75 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.2935, allocations: 124.7 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2945, allocations: 376.1 kB / 404.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.295, allocations: 231.3 kB / 404.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2961, allocations: 0.979 MB / 405.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.2964, allocations: 160.8 kB / 405.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.2969, allocations: 387.2 kB / 405.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.2975, allocations: 430.3 kB / 406.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.2976, allocations: 96.16 kB / 406.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.2981, allocations: 218.2 kB / 406.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2983, allocations: 195.3 kB / 406.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.2987, allocations: 417.6 kB / 407.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.3002, allocations: 1.169 MB / 408.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3002, allocations: 4 kB / 408.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3002, allocations: 4.562 kB / 408.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.3003, allocations: 0 / 408.3 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.002584/0.3028, allocations: 1.032 MB / 409.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3029, allocations: 14.23 kB / 409.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.303, allocations: 80.34 kB / 409.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.3039, allocations: 472.4 kB / 409.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.304, allocations: 122.9 kB / 410 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.3042, allocations: 78.05 kB / 410.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.3053, allocations: 0.6047 MB / 410.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3053, allocations: 0 / 410.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.3054, allocations: 25.81 kB / 410.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.3054, allocations: 12.88 kB / 410.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3065, allocations: 0.5235 MB / 411.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3102, allocations: 2.251 MB / 413.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3113, allocations: 455.6 kB / 414 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.3119, allocations: 243.2 kB / 414.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3119, allocations: 8.406 kB / 414.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/0.312, allocations: 42.12 kB / 414.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.623e-06/0.312, allocations: 0 / 414.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01333/0.3253, allocations: 3.324 MB / 417.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3254, allocations: 83.23 kB / 417.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.3264, allocations: 0.5402 MB / 418.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.3264, allocations: 36.45 kB / 418.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3267, allocations: 318.8 kB / 418.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.3269, allocations: 222.9 kB / 418.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.3271, allocations: 115.6 kB / 418.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3273, allocations: 371.7 kB / 419.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.3279, allocations: 244.8 kB / 419.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.3285, allocations: 347.5 kB / 419.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3297, allocations: 0.6053 MB / 420.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3297, allocations: 1.375 kB / 420.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00162/0.3314, allocations: 0.7443 MB / 421.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3314, allocations: 6.406 kB / 421.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3314, allocations: 6.547 kB / 421.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.3316, allocations: 37.17 kB / 421.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.3324, allocations: 165.5 kB / 421.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3336, allocations: 1.324 MB / 422.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.3343, allocations: 40.36 kB / 422.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.3344, allocations: 24.64 kB / 422.8 MB, free: 9.105 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.0003486/0.3347, allocations: 206 kB / 423 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3349, allocations: 64.69 kB / 423 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.3367, allocations: 0.833 MB / 423.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3368, allocations: 16.31 kB / 423.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3368, allocations: 0 / 423.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3368, allocations: 3.984 kB / 423.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.341, allocations: 1.812 MB / 425.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.341, allocations: 8 kB / 425.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.3415, allocations: 103.9 kB / 425.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.3439, allocations: 468.4 kB / 426.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.3439, allocations: 23.92 kB / 426.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.3494, allocations: 3.055 MB / 429.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3494, allocations: 3.984 kB / 429.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.3526, allocations: 1.366 MB / 430.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.353, allocations: 135.5 kB / 430.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.3531, allocations: 12 kB / 430.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.3537, allocations: 47.97 kB / 430.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3539, allocations: 48.55 kB / 431 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.3539, allocations: 20 kB / 431 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.3545, allocations: 390.9 kB / 431.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 431.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008299/0.3553, allocations: 192 kB / 431.6 MB, free: 0.6992 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.000312/0.3556, allocations: 143 kB / 431.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.3572, allocations: 0.7072 MB / 432.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3572, allocations: 0 / 432.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3583, allocations: 0.5065 MB / 432.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.359, allocations: 81.88 kB / 433 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.362, allocations: 1.529 MB / 434.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.3626, allocations: 0.9041 MB / 435.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.3629, allocations: 51.41 kB / 435.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3629, allocations: 0 / 435.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Templates: time 0.01867/0.3815, allocations: 11.87 MB / 447.3 MB, free: 0.7773 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/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: 8.443242029985413]