Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001857/0.001857, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.002175/0.002175, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.472/1.472, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.941e-05, allocations: 4.25 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005711/0.005731, allocations: 3.971 MB / 329 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.009267, allocations: 1.569 MB / 330.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.009962, allocations: 11.88 kB / 330.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.01048, allocations: 123.8 kB / 330.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.01174, allocations: 381.1 kB / 331.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.01236, allocations: 254 kB / 331.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01349, allocations: 1.01 MB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.01378, allocations: 143.4 kB / 332.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.01453, allocations: 0.5659 MB / 333 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.01502, allocations: 329.3 kB / 333.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.01515, allocations: 95.97 kB / 333.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.01555, allocations: 214.1 kB / 333.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01573, allocations: 195.4 kB / 333.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.01611, allocations: 297.2 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.01751, allocations: 1.226 MB / 335.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01751, allocations: 1.375 kB / 335.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01751, allocations: 0 / 335.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01752, allocations: 0 / 335.4 MB, free: 9.578 MB / 302.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.002439/0.01996, allocations: 1.037 MB / 336.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.02, allocations: 13.92 kB / 336.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.02027, allocations: 94.06 kB / 336.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.02108, allocations: 469.7 kB / 337 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.0212, allocations: 129.3 kB / 337.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.0214, allocations: 62.48 kB / 337.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.02262, allocations: 0.7018 MB / 337.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.02264, allocations: 5.125 kB / 337.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.02271, allocations: 29.38 kB / 337.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.02272, allocations: 12.78 kB / 337.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02397, allocations: 0.5247 MB / 338.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.02734, allocations: 1.986 MB / 340.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.02838, allocations: 461.1 kB / 340.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.02894, allocations: 246.1 kB / 341.1 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.02897, allocations: 4 kB / 341.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.02902, allocations: 42.5 kB / 341.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.844e-06/0.02902, allocations: 4 kB / 341.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01397/0.04299, allocations: 3.314 MB / 344.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.04305, allocations: 81.61 kB / 344.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.04381, allocations: 0.5135 MB / 345.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.04388, allocations: 41.7 kB / 345.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.04412, allocations: 320.7 kB / 345.4 MB, free: 376 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.04431, allocations: 214.1 kB / 345.6 MB, free: 160 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.04453, allocations: 114.3 kB / 345.7 MB, free: 40 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.04473, allocations: 370.7 kB / 346.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.04536, allocations: 241.2 kB / 346.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.04606, allocations: 352.5 kB / 346.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.04739, allocations: 0.5954 MB / 347.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.04739, allocations: 0 / 347.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001724/0.04912, allocations: 0.7475 MB / 348 MB, free: 13.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.04914, allocations: 10.66 kB / 348 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.04915, allocations: 0 / 348 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.04934, allocations: 44.7 kB / 348.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.05021, allocations: 168 kB / 348.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.05144, allocations: 1.3 MB / 349.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.05207, allocations: 39.97 kB / 349.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.05213, allocations: 28.05 kB / 349.6 MB, free: 11.98 MB / 318.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.0003264/0.05246, allocations: 205.6 kB / 349.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.0526, allocations: 59.62 kB / 349.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.05462, allocations: 0.8395 MB / 350.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.05462, allocations: 4 kB / 350.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.05463, allocations: 4 kB / 350.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.05464, allocations: 3.938 kB / 350.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.05851, allocations: 1.59 MB / 352.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.05851, allocations: 7.984 kB / 352.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.05908, allocations: 107.9 kB / 352.4 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/0.06168, allocations: 472.3 kB / 352.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.06173, allocations: 12 kB / 352.9 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/0.06775, allocations: 2.965 MB / 355.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.06776, allocations: 0 / 355.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.07142, allocations: 1.366 MB / 357.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.07196, allocations: 123.6 kB / 357.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.07219, allocations: 19.98 kB / 357.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/0.07293, allocations: 39.97 kB / 357.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.07312, allocations: 48.56 kB / 357.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.07319, allocations: 24.08 kB / 357.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.07373, allocations: 367.1 kB / 357.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07373, allocations: 0 / 357.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009617/0.0747, allocations: 184.1 kB / 358 MB, free: 3.387 MB / 318.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.0003657/0.07506, allocations: 162.9 kB / 358.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.07676, allocations: 0.7033 MB / 358.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.07676, allocations: 0 / 358.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.07783, allocations: 0.5104 MB / 359.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.07857, allocations: 73.33 kB / 359.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.08157, allocations: 1.362 MB / 360.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.08194, allocations: 306.9 kB / 361.1 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.08227, allocations: 68.64 kB / 361.2 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.08249, allocations: 56.47 kB / 361.2 MB, free: 72 kB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.08249, allocations: 0 / 361.2 MB, free: 72 kB / 318.1 MB Notification: Performance of Templates: time 0.0192/0.1017, allocations: 9.466 MB / 370.7 MB, free: 6.703 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.770313683897257]