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.00136/0.00136, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001477/0.001477, allocations: 210 kB / 24.47 MB, free: 3.941 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+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 0.002569/0.002569, allocations: 47.94 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2844, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006109/0.2905, allocations: 3.982 MB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2936, allocations: 1.555 MB / 437.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.2941, allocations: 11.94 kB / 437.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.2945, allocations: 129.8 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/0.2953, allocations: 361.6 kB / 438.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.2958, allocations: 239.7 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2968, allocations: 0.9824 MB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.2971, allocations: 154.1 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005244/0.2976, allocations: 390.7 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.2982, allocations: 382.2 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.2983, allocations: 96 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.2987, allocations: 211.9 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2989, allocations: 203.3 kB / 441 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.2992, allocations: 334.5 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3005, allocations: 1.187 MB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3005, allocations: 4 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3005, allocations: 0 / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3006, allocations: 4 kB / 442.5 MB, free: 12.54 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.002429/0.303, allocations: 1.038 MB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.303, allocations: 12.03 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.3033, allocations: 88.45 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.3041, allocations: 473.4 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3043, allocations: 130.9 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.3045, allocations: 72.42 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3057, allocations: 0.7024 MB / 445 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3057, allocations: 0 / 445 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.286e-05/0.3057, allocations: 24 kB / 445 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3058, allocations: 12 kB / 445 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3069, allocations: 0.5243 MB / 445.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.3104, allocations: 1.967 MB / 447.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3114, allocations: 457.5 kB / 448 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.3119, allocations: 258 kB / 448.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.312, allocations: 4 kB / 448.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.312, allocations: 38.56 kB / 448.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.312, allocations: 0 / 448.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01305/0.325, allocations: 3.326 MB / 451.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3251, allocations: 85.55 kB / 451.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3259, allocations: 0.5174 MB / 452.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.3259, allocations: 37.7 kB / 452.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3262, allocations: 316.8 kB / 452.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.3264, allocations: 226.1 kB / 452.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3266, allocations: 118.2 kB / 452.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3268, allocations: 370.8 kB / 453.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.3274, allocations: 245.2 kB / 453.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.328, allocations: 348.5 kB / 453.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.3293, allocations: 0.5993 MB / 454.4 MB, free: 220 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3293, allocations: 4 kB / 454.4 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001637/0.3309, allocations: 0.7399 MB / 455.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.331, allocations: 11.94 kB / 455.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.331, allocations: 4 kB / 455.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.3311, allocations: 32.78 kB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.332, allocations: 167.8 kB / 455.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3332, allocations: 1.3 MB / 456.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.3337, allocations: 43.91 kB / 456.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.3338, allocations: 23.98 kB / 456.7 MB, free: 13.77 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.0003017/0.3341, allocations: 205.7 kB / 456.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3342, allocations: 55.67 kB / 457 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3362, allocations: 0.8395 MB / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3362, allocations: 4 kB / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3362, allocations: 4 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3362, allocations: 3.938 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.3399, allocations: 1.59 MB / 459.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3399, allocations: 0 / 459.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.3404, allocations: 107.9 kB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.3428, allocations: 482.8 kB / 460 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.3429, allocations: 12 kB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.3481, allocations: 2.965 MB / 463 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3481, allocations: 4.062 kB / 463 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.3512, allocations: 1.362 MB / 464.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3515, allocations: 131.7 kB / 464.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.3516, allocations: 15.98 kB / 464.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.3522, allocations: 39.97 kB / 464.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3524, allocations: 56.5 kB / 464.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.3524, allocations: 19.98 kB / 464.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004841/0.3529, allocations: 367.1 kB / 465 MB, free: 5.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3529, allocations: 0 / 465 MB, free: 5.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.3536, allocations: 183.9 kB / 465.2 MB, free: 5.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.0002747/0.3539, allocations: 155 kB / 465.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.3554, allocations: 0.7071 MB / 466 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3554, allocations: 0 / 466 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009494/0.3564, allocations: 0.4988 MB / 466.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.357, allocations: 78.02 kB / 466.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3599, allocations: 1.528 MB / 468.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3602, allocations: 307.1 kB / 468.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.3605, allocations: 55.41 kB / 468.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3605, allocations: 0 / 468.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of Templates: time 0.0167/0.3772, allocations: 11.91 MB / 480.4 MB, free: 5.891 MB / 382.1 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/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_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: 7.843322088941932]