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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 107.1 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 191.1 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 55.91 kB / 345.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 49.12 MB / 394.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003893/0.2978, allocations: 2.768 MB / 397.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2997, allocations: 1.295 MB / 399 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2999, allocations: 4.094 kB / 399 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3002, allocations: 66.34 kB / 399.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.3007, allocations: 238.6 kB / 399.3 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.301, allocations: 116.7 kB / 399.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.3015, allocations: 464 kB / 399.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3016, allocations: 72.53 kB / 399.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.3019, allocations: 185.8 kB / 400.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3022, allocations: 218.5 kB / 400.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.3023, allocations: 40.59 kB / 400.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.3026, allocations: 163.2 kB / 400.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.3027, allocations: 95.36 kB / 400.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3029, allocations: 187.1 kB / 400.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.3035, allocations: 0.4952 MB / 401.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3035, allocations: 1.25 kB / 401.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3035, allocations: 0 / 401.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3035, allocations: 0 / 401.3 MB, free: 5.676 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.001594/0.3051, allocations: 0.7188 MB / 402 MB, free: 5.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3052, allocations: 8.531 kB / 402 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.3052, allocations: 35.16 kB / 402.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.3057, allocations: 336.8 kB / 402.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.3058, allocations: 52.5 kB / 402.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3059, allocations: 45 kB / 402.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.3065, allocations: 323.4 kB / 402.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3065, allocations: 1.031 kB / 402.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.3066, allocations: 10.72 kB / 402.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3066, allocations: 6 kB / 402.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.3073, allocations: 303.6 kB / 403.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.309, allocations: 1.167 MB / 404.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.3096, allocations: 274.8 kB / 404.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3099, allocations: 154 kB / 404.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3099, allocations: 8.281 kB / 404.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3099, allocations: 36.77 kB / 404.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.3099, allocations: 0 / 404.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009539/0.3195, allocations: 2.415 MB / 407.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3195, allocations: 81.23 kB / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.3199, allocations: 292.7 kB / 407.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3199, allocations: 40.39 kB / 407.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.32, allocations: 171.8 kB / 407.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3201, allocations: 154 kB / 407.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.3203, allocations: 83.92 kB / 408 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.3204, allocations: 337.7 kB / 408.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.3208, allocations: 165.6 kB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.3212, allocations: 232.8 kB / 408.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.322, allocations: 401.5 kB / 409.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.322, allocations: 0 / 409.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001023/0.323, allocations: 495.4 kB / 409.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.323, allocations: 10.56 kB / 409.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.323, allocations: 1.375 kB / 409.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3231, allocations: 3.781 kB / 409.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.3237, allocations: 121.2 kB / 409.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3237, allocations: 7.406 kB / 409.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.3241, allocations: 30.61 kB / 409.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3241, allocations: 18.42 kB / 409.7 MB, free: 0.793 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.0001464/0.3243, allocations: 149.1 kB / 409.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.3244, allocations: 42.91 kB / 409.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.3262, allocations: 0.6382 MB / 410.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3262, allocations: 5.094 kB / 410.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3262, allocations: 1.344 kB / 410.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.3262, allocations: 5.391 kB / 410.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.3295, allocations: 1.282 MB / 411.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3295, allocations: 0 / 411.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.3299, allocations: 87.81 kB / 411.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.3316, allocations: 271.4 kB / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.3317, allocations: 11.62 kB / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.3362, allocations: 2.446 MB / 414.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3362, allocations: 1 kB / 414.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.3387, allocations: 1.004 MB / 415.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3389, allocations: 154.1 kB / 415.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.339, allocations: 11.06 kB / 415.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.3394, allocations: 27.48 kB / 415.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3396, allocations: 40.44 kB / 415.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3396, allocations: 12.72 kB / 415.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.3398, allocations: 208.5 kB / 416.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3398, allocations: 2.25 kB / 416.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.3405, allocations: 115.7 kB / 416.2 MB, free: 12.08 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.000293/0.3408, allocations: 147.1 kB / 416.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3418, allocations: 414.7 kB / 416.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3418, allocations: 9.438 kB / 416.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.3425, allocations: 361.5 kB / 417.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.343, allocations: 50.06 kB / 417.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3448, allocations: 0.9913 MB / 418.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3453, allocations: 0.7884 MB / 419 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3454, allocations: 41.44 kB / 419 MB, free: 10.04 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3454, allocations: 3.938 kB / 419 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Templates: time 0.009488/0.3549, allocations: 5.742 MB / 424.8 MB, free: 5.508 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 -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