Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.008441/0.008441, allocations: 107.2 kB / 21.98 MB, free: 5.223 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.002233/0.002233, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 259 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 64.12 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006263/0.2763, allocations: 4.422 MB / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.2793, allocations: 1.667 MB / 439.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.2796, allocations: 11.94 kB / 439.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.28, allocations: 126.7 kB / 439.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000823/0.2808, allocations: 371.2 kB / 439.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.2813, allocations: 247.6 kB / 440 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2824, allocations: 0.9823 MB / 441 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.2828, allocations: 162.1 kB / 441.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.2833, allocations: 386.8 kB / 441.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.2838, allocations: 426.3 kB / 441.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.284, allocations: 96 kB / 442 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.2844, allocations: 223.9 kB / 442.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.2846, allocations: 199.3 kB / 442.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.285, allocations: 414.1 kB / 442.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2864, allocations: 1.183 MB / 444 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2864, allocations: 0 / 444 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2864, allocations: 0 / 444 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2864, allocations: 0 / 444 MB, free: 12.07 MB / 350.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.00257/0.289, allocations: 1.038 MB / 445.1 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.289, allocations: 8.031 kB / 445.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.2893, allocations: 100.5 kB / 445.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.2902, allocations: 465.4 kB / 445.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2903, allocations: 75.56 kB / 445.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.2905, allocations: 68.5 kB / 445.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2918, allocations: 0.6058 MB / 446.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2918, allocations: 0 / 446.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.2919, allocations: 24 kB / 446.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2919, allocations: 12 kB / 446.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.2932, allocations: 0.5243 MB / 446.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.2969, allocations: 2.247 MB / 449.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.298, allocations: 458.2 kB / 449.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.2985, allocations: 254 kB / 449.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.2986, allocations: 8.219 kB / 449.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2986, allocations: 42.55 kB / 449.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.2986, allocations: 0 / 449.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01374/0.3124, allocations: 3.33 MB / 453.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3124, allocations: 89.59 kB / 453.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.3133, allocations: 0.5371 MB / 453.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.3133, allocations: 33.7 kB / 453.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.3136, allocations: 324.9 kB / 454.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.3138, allocations: 218.1 kB / 454.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.314, allocations: 126.2 kB / 454.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3142, allocations: 362.8 kB / 454.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.3148, allocations: 245.2 kB / 455.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/0.3155, allocations: 352.4 kB / 455.5 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.3169, allocations: 0.6033 MB / 456.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3169, allocations: 0 / 456.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001705/0.3186, allocations: 0.7435 MB / 456.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3186, allocations: 8 kB / 456.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3186, allocations: 3.984 kB / 456.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.3188, allocations: 37.16 kB / 456.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/0.3197, allocations: 163.8 kB / 457.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.321, allocations: 1.323 MB / 458.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.3216, allocations: 43.91 kB / 458.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.3217, allocations: 24 kB / 458.5 MB, free: 13.14 MB / 366.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.0003719/0.3221, allocations: 205.8 kB / 458.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3222, allocations: 63.58 kB / 458.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.3242, allocations: 0.832 MB / 459.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3243, allocations: 12.08 kB / 459.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3243, allocations: 0 / 459.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3243, allocations: 11.97 kB / 459.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.3284, allocations: 1.816 MB / 461.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3284, allocations: 0 / 461.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.329, allocations: 103.9 kB / 461.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.3315, allocations: 482.9 kB / 462 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.3316, allocations: 12 kB / 462 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005578/0.3372, allocations: 3.043 MB / 465 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3372, allocations: 0 / 465 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.3404, allocations: 1.374 MB / 466.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.3408, allocations: 135.5 kB / 466.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.3409, allocations: 12 kB / 466.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.3415, allocations: 39.95 kB / 466.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3416, allocations: 48.56 kB / 466.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.3417, allocations: 20 kB / 466.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.3422, allocations: 394.8 kB / 467 MB, free: 4.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3422, allocations: 0 / 467 MB, free: 4.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007493/0.343, allocations: 187.9 kB / 467.2 MB, free: 4.176 MB / 366.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.0003342/0.3433, allocations: 155.4 kB / 467.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.345, allocations: 0.7109 MB / 468.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.345, allocations: 0.625 kB / 468.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.3459, allocations: 0.5021 MB / 468.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.3466, allocations: 89.98 kB / 468.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.3496, allocations: 1.521 MB / 470.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.3502, allocations: 0.9081 MB / 471.1 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.3504, allocations: 51.41 kB / 471.1 MB, free: 152 kB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3504, allocations: 4 kB / 471.1 MB, free: 148 kB / 366.1 MB Notification: Performance of Templates: time 0.01876/0.3692, allocations: 11.9 MB / 483 MB, free: 4.293 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.232782188802958]