Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004033/0.004033, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8913/0.8913, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 3.938 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.472e-05/4.708e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00632/0.006367, allocations: 3.982 MB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.009267, allocations: 1.574 MB / 331.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.009551, allocations: 11.94 kB / 331.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.009843, allocations: 118.8 kB / 331.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.01045, allocations: 381.3 kB / 331.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.01074, allocations: 243.5 kB / 332.1 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.01136, allocations: 1.01 MB / 333.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.01157, allocations: 150.1 kB / 333.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.01202, allocations: 0.5652 MB / 333.8 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.01234, allocations: 331 kB / 334.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/0.01241, allocations: 96 kB / 334.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.01265, allocations: 211.9 kB / 334.5 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.01275, allocations: 203.3 kB / 334.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.01293, allocations: 287.3 kB / 335 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.01381, allocations: 1.223 MB / 336.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01382, allocations: 0 / 336.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01382, allocations: 4 kB / 336.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.01383, allocations: 0 / 336.2 MB, free: 5.055 MB / 298.7 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.001446/0.01527, allocations: 1.034 MB / 337.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.01532, allocations: 8.031 kB / 337.2 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.01551, allocations: 96.41 kB / 337.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.01606, allocations: 464.7 kB / 337.8 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.01616, allocations: 134.9 kB / 337.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.0163, allocations: 64.73 kB / 338 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.01705, allocations: 0.7029 MB / 338.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.01707, allocations: 3.938 kB / 338.7 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.01711, allocations: 23.94 kB / 338.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01712, allocations: 16 kB / 338.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.01781, allocations: 0.5243 MB / 339.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.01997, allocations: 1.98 MB / 341.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.0206, allocations: 457.1 kB / 341.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.02094, allocations: 258 kB / 341.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.02097, allocations: 7.984 kB / 341.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.02099, allocations: 42.5 kB / 342 MB, free: 15.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.021, allocations: 0 / 342 MB, free: 15.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.006328/0.02732, allocations: 3.315 MB / 345.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.02738, allocations: 85.55 kB / 345.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.02784, allocations: 0.5135 MB / 345.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.02788, allocations: 37.7 kB / 345.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.02804, allocations: 324.8 kB / 346.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.02815, allocations: 218.1 kB / 346.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02828, allocations: 118.3 kB / 346.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.02839, allocations: 362.7 kB / 346.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.02873, allocations: 249.2 kB / 347.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.0291, allocations: 340.5 kB / 347.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.02985, allocations: 0.6071 MB / 348.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02985, allocations: 0 / 348.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008804/0.03073, allocations: 0.7399 MB / 348.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.03075, allocations: 8 kB / 348.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.03075, allocations: 0 / 348.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.03095, allocations: 44.7 kB / 348.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.03134, allocations: 167.8 kB / 349 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/0.0321, allocations: 1.3 MB / 350.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.03235, allocations: 35.98 kB / 350.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.03238, allocations: 23.98 kB / 350.4 MB, free: 6.297 MB / 314.7 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.0002063/0.03259, allocations: 209.7 kB / 350.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.03286, allocations: 59.62 kB / 350.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.03397, allocations: 0.8356 MB / 351.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.03397, allocations: 7.938 kB / 351.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.03398, allocations: 0 / 351.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.03398, allocations: 7.984 kB / 351.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.03608, allocations: 1.59 MB / 353.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03608, allocations: 0 / 353.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.03634, allocations: 111.9 kB / 353.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.0374, allocations: 470.8 kB / 353.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.03743, allocations: 15.98 kB / 353.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.04033, allocations: 2.96 MB / 356.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.04033, allocations: 3.984 kB / 356.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.04201, allocations: 1.366 MB / 358 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.0422, allocations: 131.6 kB / 358.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.04224, allocations: 8 kB / 358.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.04251, allocations: 51.97 kB / 358.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.0426, allocations: 48.55 kB / 358.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.04262, allocations: 27.94 kB / 358.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.0429, allocations: 367.1 kB / 358.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0429, allocations: 0 / 358.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.04333, allocations: 184.1 kB / 358.8 MB, free: 13.7 MB / 330.7 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.0002405/0.04357, allocations: 162.9 kB / 359 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009236/0.04449, allocations: 0.7036 MB / 359.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04449, allocations: 4 kB / 359.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.04502, allocations: 0.4943 MB / 360.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.04543, allocations: 75.14 kB / 360.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.04741, allocations: 1.384 MB / 361.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.04762, allocations: 310.9 kB / 361.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.04776, allocations: 52.47 kB / 362 MB, free: 10.43 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.04776, allocations: 0 / 362 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Templates: time 0.009507/0.05727, allocations: 11.94 MB / 373.9 MB, free: 14.53 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.768100319430232]