Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3097, allocations: 53.42 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004365/0.3141, allocations: 2.867 MB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3164, allocations: 1.308 MB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.3165, allocations: 7.938 kB / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3168, allocations: 71.42 kB / 436.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.3174, allocations: 226.7 kB / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3177, allocations: 139.7 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.3182, allocations: 459.1 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3183, allocations: 66.42 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.3186, allocations: 191.4 kB / 437.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.319, allocations: 219.2 kB / 438 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.319, allocations: 40 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3193, allocations: 171.9 kB / 438.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.3194, allocations: 103.6 kB / 438.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3196, allocations: 187.1 kB / 438.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.3203, allocations: 0.5059 MB / 439 MB, free: 368 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3203, allocations: 0 / 439 MB, free: 368 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3203, allocations: 3.938 kB / 439 MB, free: 364 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.3203, allocations: 0 / 439 MB, free: 364 kB / 334.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.001731/0.322, allocations: 0.6453 MB / 439.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3221, allocations: 12.03 kB / 439.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.3223, allocations: 44.73 kB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.3228, allocations: 267.6 kB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3229, allocations: 102.3 kB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3231, allocations: 52.44 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.3237, allocations: 321.5 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3238, allocations: 3.938 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3238, allocations: 12 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3238, allocations: 4 kB / 440.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.3245, allocations: 305.7 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3264, allocations: 1.12 MB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.327, allocations: 279.8 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.3273, allocations: 157.6 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3274, allocations: 4 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3274, allocations: 38.56 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3274, allocations: 0 / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009628/0.337, allocations: 2.269 MB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.3371, allocations: 85.05 kB / 444.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.3375, allocations: 301 kB / 445 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.3375, allocations: 33.7 kB / 445 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3377, allocations: 168.6 kB / 445.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3378, allocations: 154.7 kB / 445.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.338, allocations: 82.11 kB / 445.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3381, allocations: 334.8 kB / 445.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.3386, allocations: 164.8 kB / 445.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.339, allocations: 222.7 kB / 446.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.3399, allocations: 411.7 kB / 446.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3399, allocations: 0 / 446.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001099/0.341, allocations: 496.4 kB / 447 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.341, allocations: 4 kB / 447 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.341, allocations: 0 / 447 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.341, allocations: 4 kB / 447 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.3417, allocations: 131.9 kB / 447.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.3417, allocations: 7.984 kB / 447.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3421, allocations: 27.97 kB / 447.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3421, allocations: 16 kB / 447.2 MB, free: 7.84 MB / 350.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.0002134/0.3423, allocations: 165.6 kB / 447.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.3424, allocations: 27.81 kB / 447.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.3444, allocations: 0.6525 MB / 448 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3444, allocations: 4 kB / 448 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3444, allocations: 4 kB / 448 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3444, allocations: 0 / 448 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.3478, allocations: 1.243 MB / 449.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3478, allocations: 3.938 kB / 449.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.3482, allocations: 95.86 kB / 449.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.3499, allocations: 268.5 kB / 449.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.3499, allocations: 15.98 kB / 449.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.3542, allocations: 2.324 MB / 452 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3542, allocations: 4.062 kB / 452 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3566, allocations: 1.012 MB / 453 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.3568, allocations: 67.75 kB / 453 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.3568, allocations: 12 kB / 453 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.3573, allocations: 24.17 kB / 453.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3574, allocations: 44.36 kB / 453.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.3574, allocations: 23.92 kB / 453.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.3577, allocations: 208.5 kB / 453.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3577, allocations: 0 / 453.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.3583, allocations: 123.9 kB / 453.5 MB, free: 1.324 MB / 350.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.0002766/0.3585, allocations: 139.1 kB / 453.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.3595, allocations: 422 kB / 454 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3595, allocations: 0 / 454 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.3602, allocations: 364.9 kB / 454.4 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.3607, allocations: 39.8 kB / 454.4 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3626, allocations: 1.009 MB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.363, allocations: 0.7892 MB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3632, allocations: 39.42 kB / 456.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3632, allocations: 0 / 456.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.009276/0.3725, allocations: 5.789 MB / 462 MB, free: 8.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.746232414850965]