Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001382/0.001382, allocations: 81.67 kB / 21.99 MB, free: 4.754 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.001386/0.001386, allocations: 153.4 kB / 25.25 MB, free: 2.742 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.289/1.289, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.1 MB " [Timeout remaining time 179] 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [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.001822/0.001822, allocations: 52.34 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1971, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004061/0.2011, allocations: 2.608 MB / 351.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.2037, allocations: 1.184 MB / 352.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2039, allocations: 3.938 kB / 352.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.2042, allocations: 71.22 kB / 352.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.2049, allocations: 226.8 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2052, allocations: 111.8 kB / 352.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.2058, allocations: 463 kB / 353.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.206, allocations: 64.75 kB / 353.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.2063, allocations: 195.4 kB / 353.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.2067, allocations: 199.1 kB / 353.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.2068, allocations: 40 kB / 353.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.2071, allocations: 151.9 kB / 353.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2073, allocations: 95.7 kB / 353.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2075, allocations: 155.3 kB / 354 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.2083, allocations: 0.5083 MB / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2083, allocations: 0 / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2083, allocations: 0 / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.2083, allocations: 4 kB / 354.6 MB, free: 9.449 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001923/0.2103, allocations: 0.6375 MB / 355.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2103, allocations: 11.98 kB / 355.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.2104, allocations: 36.75 kB / 355.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.211, allocations: 279.5 kB / 355.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.2111, allocations: 102.3 kB / 355.6 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2113, allocations: 48.42 kB / 355.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.2119, allocations: 351.2 kB / 356 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2119, allocations: 0 / 356 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.212, allocations: 12 kB / 356 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.212, allocations: 4 kB / 356 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.2127, allocations: 297.8 kB / 356.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2144, allocations: 0.9921 MB / 357.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.215, allocations: 285 kB / 357.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.2154, allocations: 153.6 kB / 357.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2154, allocations: 7.938 kB / 357.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2154, allocations: 38.56 kB / 357.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.2154, allocations: 0 / 357.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009628/0.2251, allocations: 2.271 MB / 360 MB, free: 3.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2251, allocations: 81.11 kB / 360.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.2255, allocations: 293.7 kB / 360.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.2255, allocations: 33.7 kB / 360.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2256, allocations: 168.6 kB / 360.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.2258, allocations: 154.7 kB / 360.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2259, allocations: 82.17 kB / 360.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2261, allocations: 334.8 kB / 361.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2265, allocations: 164.9 kB / 361.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.227, allocations: 235.2 kB / 361.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.2278, allocations: 403.6 kB / 362 MB, free: 1.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2279, allocations: 4 kB / 362 MB, free: 1.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001055/0.2289, allocations: 496.3 kB / 362.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2289, allocations: 8 kB / 362.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2289, allocations: 0 / 362.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2289, allocations: 4 kB / 362.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.2296, allocations: 116 kB / 362.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2296, allocations: 4 kB / 362.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.23, allocations: 39.91 kB / 362.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.23, allocations: 19.98 kB / 362.6 MB, free: 1.043 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0001742/0.2302, allocations: 157.6 kB / 362.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.2303, allocations: 35.81 kB / 362.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.2322, allocations: 0.6463 MB / 363.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2322, allocations: 7.938 kB / 363.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2322, allocations: 0 / 363.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2322, allocations: 0 / 363.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.2354, allocations: 1.125 MB / 364.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2354, allocations: 0 / 364.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.2359, allocations: 87.89 kB / 364.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.2375, allocations: 268.5 kB / 364.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.2375, allocations: 16 kB / 365 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.2417, allocations: 2.286 MB / 367.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2417, allocations: 0 / 367.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.2441, allocations: 1.006 MB / 368.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2443, allocations: 75.73 kB / 368.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.2444, allocations: 12 kB / 368.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.2448, allocations: 23.97 kB / 368.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2449, allocations: 40.42 kB / 368.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.245, allocations: 12 kB / 368.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.2452, allocations: 217.1 kB / 368.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 4 kB / 368.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000547/0.2457, allocations: 115.9 kB / 368.7 MB, free: 10.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.246, allocations: 143.2 kB / 368.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.247, allocations: 410.9 kB / 369.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.247, allocations: 0 / 369.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.2478, allocations: 365.4 kB / 369.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.2482, allocations: 48.7 kB / 369.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2501, allocations: 0.9575 MB / 370.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.2503, allocations: 183.1 kB / 370.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.2504, allocations: 42.95 kB / 370.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.2506, allocations: 36.47 kB / 370.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2506, allocations: 0 / 370.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Templates: time 0.0122/0.2628, allocations: 6.114 MB / 377 MB, free: 2.387 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 4.324968845001422]