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.001853/0.001853, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00221/0.00221, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.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 0.003164/0.003164, allocations: 67.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.271, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006529/0.2775, allocations: 4.432 MB / 436.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.2807, allocations: 1.667 MB / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004714/0.2812, allocations: 11.94 kB / 438.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.2817, allocations: 122.8 kB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.2827, allocations: 377.2 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.2833, allocations: 231.8 kB / 439.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.2846, allocations: 0.9823 MB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.2849, allocations: 166.1 kB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006434/0.2855, allocations: 390.7 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.2862, allocations: 426.3 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2864, allocations: 103.9 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.2868, allocations: 219.9 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.287, allocations: 191.4 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.2875, allocations: 422 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.2888, allocations: 1.169 MB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2888, allocations: 0 / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2888, allocations: 3.938 kB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.2889, allocations: 0 / 443.3 MB, free: 11.86 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.002755/0.2916, allocations: 1.046 MB / 444.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2917, allocations: 8.031 kB / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.292, allocations: 88.45 kB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.2929, allocations: 477.3 kB / 444.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.2931, allocations: 127 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.2933, allocations: 68.5 kB / 445.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2945, allocations: 0.602 MB / 445.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.2946, allocations: 3.938 kB / 445.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.2946, allocations: 24 kB / 445.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2946, allocations: 12 kB / 445.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2959, allocations: 0.5244 MB / 446.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.2997, allocations: 2.247 MB / 448.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3008, allocations: 464.8 kB / 449 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.3013, allocations: 246.1 kB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.3014, allocations: 7.938 kB / 449.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.3014, allocations: 38.56 kB / 449.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.3014, allocations: 0 / 449.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01377/0.3152, allocations: 3.333 MB / 452.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.3153, allocations: 93.59 kB / 452.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.3161, allocations: 0.5371 MB / 453.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.3162, allocations: 33.7 kB / 453.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3164, allocations: 320.9 kB / 453.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.3167, allocations: 222.1 kB / 453.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3169, allocations: 114.2 kB / 453.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3171, allocations: 370.8 kB / 454.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.3177, allocations: 253.2 kB / 454.5 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.3184, allocations: 336.5 kB / 454.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.3197, allocations: 0.611 MB / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3197, allocations: 0 / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001652/0.3213, allocations: 0.7435 MB / 456.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3214, allocations: 14.5 kB / 456.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3214, allocations: 3.984 kB / 456.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.3215, allocations: 36.83 kB / 456.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.3224, allocations: 163.8 kB / 456.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3237, allocations: 1.319 MB / 457.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.3243, allocations: 43.98 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.3243, allocations: 27.98 kB / 457.8 MB, free: 12.86 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.0003176/0.3246, allocations: 201.7 kB / 458 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.3248, allocations: 63.58 kB / 458 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.3267, allocations: 0.8319 MB / 458.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.3267, allocations: 15.88 kB / 458.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3267, allocations: 0 / 458.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3268, allocations: 4.125 kB / 458.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.3308, allocations: 1.816 MB / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3308, allocations: 0 / 460.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.3313, allocations: 107.8 kB / 460.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/0.3338, allocations: 480.2 kB / 461.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.3338, allocations: 16 kB / 461.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005617/0.3394, allocations: 3.055 MB / 464.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3394, allocations: 0 / 464.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.3428, allocations: 1.366 MB / 465.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.3432, allocations: 135.6 kB / 465.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.3434, allocations: 19.98 kB / 465.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/0.3441, allocations: 43.95 kB / 465.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3442, allocations: 52.5 kB / 466 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.3443, allocations: 20 kB / 466 MB, free: 4.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006057/0.3449, allocations: 394.8 kB / 466.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3449, allocations: 0 / 466.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008715/0.3457, allocations: 187.9 kB / 466.5 MB, free: 3.875 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.0003462/0.3461, allocations: 151.1 kB / 466.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.3478, allocations: 0.7033 MB / 467.4 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3478, allocations: 4 kB / 467.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3489, allocations: 0.4904 MB / 467.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.3496, allocations: 101 kB / 468 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.3529, allocations: 1.521 MB / 469.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.3536, allocations: 0.9004 MB / 470.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3539, allocations: 55.34 kB / 470.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3539, allocations: 0 / 470.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01955/0.3735, allocations: 11.88 MB / 482.4 MB, free: 4.012 MB / 382.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/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_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: 8.044365260051563]