Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 185.7 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 56.55 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3062, allocations: 49.11 MB / 394.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005281/0.3115, allocations: 4.343 MB / 398.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.3142, allocations: 1.658 MB / 400.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.3147, allocations: 6.844 kB / 400.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.3151, allocations: 124.8 kB / 400.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3162, allocations: 372 kB / 401 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.3167, allocations: 228.2 kB / 401.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.3176, allocations: 0.9756 MB / 402.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.3178, allocations: 164.6 kB / 402.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.3183, allocations: 384 kB / 402.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.3188, allocations: 423.3 kB / 403.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3189, allocations: 95.25 kB / 403.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.3194, allocations: 219.3 kB / 403.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3195, allocations: 199.6 kB / 403.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.3198, allocations: 413.4 kB / 404.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3211, allocations: 1.17 MB / 405.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3211, allocations: 0 / 405.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3211, allocations: 4 kB / 405.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3211, allocations: 0.9375 kB / 405.2 MB, free: 2.848 MB / 318.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.002435/0.3235, allocations: 1.112 MB / 406.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3236, allocations: 9.812 kB / 406.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3237, allocations: 79.66 kB / 406.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.3245, allocations: 0.5158 MB / 406.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.3246, allocations: 76.94 kB / 407 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.3248, allocations: 70.08 kB / 407.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.326, allocations: 0.5996 MB / 407.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.326, allocations: 0 / 407.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.326, allocations: 25.5 kB / 407.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.326, allocations: 13.75 kB / 407.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3272, allocations: 0.5281 MB / 408.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/0.3305, allocations: 2.3 MB / 410.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3315, allocations: 462.8 kB / 411 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.3321, allocations: 255 kB / 411.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3321, allocations: 8.625 kB / 411.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3322, allocations: 49.66 kB / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.3322, allocations: 0 / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01727/0.3494, allocations: 3.55 MB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.3495, allocations: 84.86 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3507, allocations: 0.5381 MB / 415.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.3508, allocations: 36.92 kB / 415.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.3512, allocations: 318.2 kB / 415.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.3515, allocations: 218.7 kB / 416 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.3518, allocations: 113 kB / 416.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.3521, allocations: 367.2 kB / 416.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.353, allocations: 248.7 kB / 416.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.354, allocations: 346.8 kB / 417.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.3557, allocations: 0.6042 MB / 417.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3557, allocations: 1.188 kB / 417.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002398/0.3581, allocations: 0.7456 MB / 418.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3582, allocations: 10.62 kB / 418.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3582, allocations: 2.125 kB / 418.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.3584, allocations: 33.08 kB / 418.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3595, allocations: 174.2 kB / 418.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.3613, allocations: 1.422 MB / 420.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.3622, allocations: 45.69 kB / 420.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.3623, allocations: 23.42 kB / 420.2 MB, free: 8.637 MB / 334.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.000521/0.3628, allocations: 205.7 kB / 420.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.3631, allocations: 64.94 kB / 420.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.3659, allocations: 0.8354 MB / 421.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.3659, allocations: 10.56 kB / 421.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3659, allocations: 1.125 kB / 421.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3659, allocations: 5.422 kB / 421.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.3716, allocations: 1.846 MB / 423.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3716, allocations: 0 / 423.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.3724, allocations: 107.9 kB / 423.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.3755, allocations: 469.8 kB / 423.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.3756, allocations: 23.92 kB / 423.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007615/0.3832, allocations: 3.162 MB / 426.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3832, allocations: 4.031 kB / 426.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.3884, allocations: 1.356 MB / 428.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.3891, allocations: 212.6 kB / 428.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.3893, allocations: 15.98 kB / 428.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009582/0.3903, allocations: 47.97 kB / 428.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.3905, allocations: 40.59 kB / 428.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.3906, allocations: 31.91 kB / 428.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000783/0.3914, allocations: 390.9 kB / 428.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 0 / 428.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001387/0.3928, allocations: 184.1 kB / 429.1 MB, free: 396 kB / 334.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.0004441/0.3932, allocations: 147 kB / 429.3 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.3952, allocations: 0.7013 MB / 430 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3952, allocations: 0 / 430 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3962, allocations: 0.5099 MB / 430.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.397, allocations: 93.84 kB / 430.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4003, allocations: 1.485 MB / 432.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.4009, allocations: 0.9042 MB / 433 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.4013, allocations: 72.81 kB / 433 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.4015, allocations: 51.41 kB / 433.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4015, allocations: 0 / 433.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.02103/0.4226, allocations: 10.69 MB / 443.8 MB, free: 1.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.043324554339051]