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.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.0009283/0.0009283, allocations: 73.02 kB / 22.99 MB, free: 1.488 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.001554/0.001554, allocations: 170.7 kB / 26.39 MB, free: 8.129 MB / 18.57 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 0.8796/0.8796, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.049e-05, allocations: 6.25 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003849/0.00387, allocations: 4.203 MB / 256.5 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.005636, allocations: 1.591 MB / 258.1 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.005835, allocations: 11.94 kB / 258.1 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.006096, allocations: 130.7 kB / 258.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.006623, allocations: 369.4 kB / 258.6 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.006875, allocations: 239.5 kB / 258.8 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.007494, allocations: 1.005 MB / 259.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.007701, allocations: 150.1 kB / 259.9 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.008129, allocations: 0.5653 MB / 260.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.008451, allocations: 331.1 kB / 260.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.008534, allocations: 96 kB / 260.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.008764, allocations: 199.9 kB / 261.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.008871, allocations: 203.3 kB / 261.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.009061, allocations: 299.2 kB / 261.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.009632, allocations: 0.7046 MB / 262.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.009635, allocations: 0 / 262.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.009635, allocations: 0 / 262.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.009641, allocations: 4 kB / 262.3 MB, free: 13.13 MB / 250.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.001303/0.01094, allocations: 1.138 MB / 263.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01098, allocations: 15.98 kB / 263.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.01111, allocations: 120.5 kB / 263.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.01151, allocations: 422.2 kB / 264 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.01159, allocations: 131 kB / 264.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.01171, allocations: 60.75 kB / 264.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.01221, allocations: 0.5426 MB / 264.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.01223, allocations: 7.922 kB / 264.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.01227, allocations: 24 kB / 264.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01228, allocations: 12 kB / 264.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.01257, allocations: 234.1 kB / 265 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.01436, allocations: 1.972 MB / 267 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.01468, allocations: 282.4 kB / 267.2 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01484, allocations: 135.7 kB / 267.4 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.01486, allocations: 8 kB / 267.4 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.01489, allocations: 45.33 kB / 267.4 MB, free: 7.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.684e-06/0.01489, allocations: 0 / 267.4 MB, free: 7.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.004874/0.01976, allocations: 2.199 MB / 269.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.0198, allocations: 85.61 kB / 269.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.0201, allocations: 478.3 kB / 270.2 MB, free: 4.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.02014, allocations: 37.7 kB / 270.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.0203, allocations: 379.4 kB / 270.6 MB, free: 4.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.02041, allocations: 218.1 kB / 270.8 MB, free: 4.297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02054, allocations: 123.9 kB / 270.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.02069, allocations: 0.539 MB / 271.5 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.02081, allocations: 77.23 kB / 271.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.02099, allocations: 219.5 kB / 271.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.02132, allocations: 332.8 kB / 272.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02133, allocations: 3.984 kB / 272.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005273/0.02185, allocations: 460.5 kB / 272.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.02187, allocations: 8 kB / 272.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02187, allocations: 0 / 272.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.02203, allocations: 47.58 kB / 272.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.02241, allocations: 168 kB / 272.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000733/0.02315, allocations: 1.745 MB / 274.5 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.02338, allocations: 32 kB / 274.5 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.02341, allocations: 24.02 kB / 274.5 MB, free: 308 kB / 250.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.0001496/0.02356, allocations: 196.4 kB / 274.7 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.02367, allocations: 83.56 kB / 274.8 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.0243, allocations: 0.4947 MB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.02431, allocations: 8.141 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.02431, allocations: 3.984 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.02432, allocations: 7.984 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.02582, allocations: 1.151 MB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.02584, allocations: 0 / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.02625, allocations: 103.9 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.02728, allocations: 327.2 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.02734, allocations: 19.98 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.02976, allocations: 2.744 MB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02976, allocations: 0 / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.03092, allocations: 0.9082 MB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.03111, allocations: 131.5 kB / 280.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.03116, allocations: 12 kB / 280.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.03146, allocations: 31.98 kB / 280.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.03155, allocations: 52.55 kB / 280.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.03158, allocations: 12 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.0318, allocations: 314.9 kB / 281.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0318, allocations: 4 kB / 281.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005328/0.03233, allocations: 188.1 kB / 281.3 MB, free: 9.34 MB / 266.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.0002194/0.03255, allocations: 147 kB / 281.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.03312, allocations: 495.3 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03312, allocations: 3.938 kB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.0335, allocations: 446.1 kB / 282.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.03391, allocations: 102.5 kB / 282.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.03567, allocations: 1.237 MB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.03577, allocations: 148.3 kB / 283.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.03598, allocations: 68.66 kB / 283.9 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.03623, allocations: 174.1 kB / 284.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03623, allocations: 0 / 284.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Templates: time 0.01526/0.0515, allocations: 10.51 MB / 294.6 MB, free: 11.96 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8752566701732576]