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.0009133/0.0009133, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009009/0.0009009, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.8706/0.8706, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.173e-05, allocations: 9.266 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002661/0.002673, allocations: 2.842 MB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003976, allocations: 1.273 MB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.004081, allocations: 4 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.004263, allocations: 67.38 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.004635, allocations: 238.5 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.004805, allocations: 127.7 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.005103, allocations: 482.8 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005208, allocations: 62.8 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.005462, allocations: 279.3 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.005643, allocations: 179.5 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.005685, allocations: 40 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.005862, allocations: 155.9 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.005916, allocations: 95.62 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.006004, allocations: 135.7 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.006351, allocations: 394.6 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006353, allocations: 4 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006353, allocations: 0 / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.006356, allocations: 0 / 279.7 MB, free: 10.72 MB / 266.7 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.0007402/0.007097, allocations: 0.6087 MB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.007123, allocations: 11.98 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.007244, allocations: 56.89 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.007461, allocations: 216.9 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.007521, allocations: 102.3 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.007605, allocations: 40.72 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.007857, allocations: 280.4 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007867, allocations: 7.938 kB / 281 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.007887, allocations: 11.98 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.007893, allocations: 8 kB / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.008051, allocations: 121.3 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.00884, allocations: 0.7771 MB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.009025, allocations: 169.1 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.009098, allocations: 73.62 kB / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.009117, allocations: 8 kB / 282.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.009136, allocations: 42.55 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.432e-06/0.009138, allocations: 4 kB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.004075/0.01321, allocations: 1.908 MB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01324, allocations: 81.11 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01339, allocations: 246.6 kB / 284.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.01341, allocations: 33.7 kB / 284.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.01347, allocations: 153.1 kB / 284.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.01354, allocations: 150.7 kB / 284.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/0.01362, allocations: 82.09 kB / 284.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.01369, allocations: 354.7 kB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.01377, allocations: 44.97 kB / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.01386, allocations: 111.3 kB / 285.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.01406, allocations: 207.5 kB / 285.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01406, allocations: 4 kB / 285.6 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002545/0.01431, allocations: 224.9 kB / 285.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01432, allocations: 4 kB / 285.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01433, allocations: 4 kB / 285.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01434, allocations: 7.938 kB / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01461, allocations: 112 kB / 285.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01461, allocations: 8 kB / 285.9 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01475, allocations: 31.92 kB / 286 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.01477, allocations: 15.98 kB / 286 MB, free: 4.148 MB / 266.7 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 8.518e-05/0.01485, allocations: 125.8 kB / 286.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.01491, allocations: 39.91 kB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.01546, allocations: 374.9 kB / 286.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01546, allocations: 7.938 kB / 286.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.01547, allocations: 3.938 kB / 286.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01547, allocations: 3.984 kB / 286.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.01655, allocations: 0.6811 MB / 287.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01655, allocations: 3.984 kB / 287.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.01675, allocations: 91.88 kB / 287.3 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00057/0.01732, allocations: 208.6 kB / 287.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.01734, allocations: 15.94 kB / 287.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.01869, allocations: 1.669 MB / 289.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0187, allocations: 4 kB / 289.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.01935, allocations: 0.5851 MB / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.01943, allocations: 43.72 kB / 289.8 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.01946, allocations: 8 kB / 289.8 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.01963, allocations: 23.98 kB / 289.8 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.01969, allocations: 36.42 kB / 289.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01971, allocations: 8 kB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.09142/0.1111, allocations: 94.66 kB / 290 MB, free: 24.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1111, allocations: 0 / 290 MB, free: 24.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.1116, allocations: 116.2 kB / 290.1 MB, free: 24.25 MB / 266.7 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.0002002/0.1118, allocations: 123.6 kB / 290.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1121, allocations: 209.2 kB / 290.4 MB, free: 24.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1121, allocations: 2.938 kB / 290.4 MB, free: 24.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1124, allocations: 277.2 kB / 290.7 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1127, allocations: 43.34 kB / 290.7 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1137, allocations: 0.7399 MB / 291.5 MB, free: 23.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.1137, allocations: 107.6 kB / 291.6 MB, free: 23.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1139, allocations: 39.64 kB / 291.6 MB, free: 23.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.114, allocations: 108.1 kB / 291.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.114, allocations: 0 / 291.7 MB, free: 23.6 MB / 266.7 MB Notification: Performance of Templates: time 0.008249/0.1223, allocations: 6.619 MB / 298.3 MB, free: 22.57 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5637647546827793]