Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0008747/0.0008747, allocations: 85.95 kB / 23 MB, free: 1.504 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.001643/0.001643, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9183/0.9183, 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.271e-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.SinglePhaseTransformerWithHysteresis1): time 0.003835/0.003858, allocations: 3.299 MB / 255.6 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.005994, allocations: 1.384 MB / 256.9 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.006249, allocations: 4 kB / 256.9 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.008844, allocations: 2.678 MB / 259.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.009258, allocations: 182.6 kB / 259.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.009832, allocations: 279.3 kB / 260.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.01121, allocations: 1.817 MB / 261.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.01136, allocations: 91.7 kB / 262 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.01218, allocations: 481.1 kB / 262.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.01247, allocations: 299.3 kB / 262.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.01254, allocations: 44 kB / 262.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.01266, allocations: 71.92 kB / 262.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.01314, allocations: 0.861 MB / 263.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.01347, allocations: 478.1 kB / 264.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01454, allocations: 1.475 MB / 265.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01454, allocations: 0 / 265.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01454, allocations: 4 kB / 265.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.01457, allocations: 0 / 265.7 MB, free: 9.809 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003544/0.01811, allocations: 3.024 MB / 268.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01816, allocations: 8.031 kB / 268.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.01849, allocations: 330.9 kB / 269 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.01965, allocations: 1.197 MB / 270.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.01975, allocations: 118.7 kB / 270.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.01988, allocations: 44.73 kB / 270.4 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.02027, allocations: 367.4 kB / 270.7 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.02028, allocations: 0 / 270.7 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.0203, allocations: 20 kB / 270.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.02031, allocations: 8 kB / 270.8 MB, free: 4.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.02052, allocations: 158.8 kB / 270.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.02294, allocations: 2.053 MB / 273 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.02321, allocations: 236.9 kB / 273.2 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.0233, allocations: 99.25 kB / 273.3 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.02333, allocations: 4 kB / 273.3 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.02335, allocations: 41.39 kB / 273.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.02335, allocations: 0 / 273.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001885/0.02524, allocations: 1.228 MB / 274.6 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.02527, allocations: 81.61 kB / 274.6 MB, free: 500 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.02788, allocations: 3.28 MB / 277.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.0279, allocations: 33.7 kB / 278 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.02921, allocations: 1.524 MB / 279.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.02931, allocations: 170.5 kB / 279.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.02941, allocations: 99.75 kB / 279.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.02953, allocations: 0.4965 MB / 280.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.02962, allocations: 56.95 kB / 280.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.02975, allocations: 162.6 kB / 280.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.02998, allocations: 251 kB / 280.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02999, allocations: 7.938 kB / 280.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004867/0.03047, allocations: 0.5503 MB / 281.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.03049, allocations: 8 kB / 281.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.0305, allocations: 7.984 kB / 281.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.03051, allocations: 4 kB / 281.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.03079, allocations: 124.1 kB / 281.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.0308, allocations: 7.938 kB / 281.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.03099, allocations: 15.94 kB / 281.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.03102, allocations: 15.94 kB / 281.4 MB, free: 9.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.03125, allocations: 188.4 kB / 281.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.03146, allocations: 298.1 kB / 281.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.03207, allocations: 0.5251 MB / 282.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.03208, allocations: 7.938 kB / 282.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03208, allocations: 7.938 kB / 282.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.03208, allocations: 3.984 kB / 282.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.03304, allocations: 1.003 MB / 283.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.03304, allocations: 4 kB / 283.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.03328, allocations: 91.88 kB / 283.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.03345, allocations: 59.64 kB / 283.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.03348, allocations: 23.97 kB / 283.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004114/0.03389, allocations: 0.8428 MB / 284.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03389, allocations: 4 kB / 284.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.03498, allocations: 0.9303 MB / 285.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.03533, allocations: 350 kB / 285.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.03544, allocations: 8 kB / 285.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.03567, allocations: 20.03 kB / 285.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.03572, allocations: 28.44 kB / 285.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.03574, allocations: 19.92 kB / 285.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001449/0.03719, allocations: 1.845 MB / 287.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03719, allocations: 0 / 287.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.03762, allocations: 200 kB / 287.9 MB, free: 3.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008366/0.03846, allocations: 394.9 kB / 288.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.03876, allocations: 234.8 kB / 288.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03876, allocations: 3.938 kB / 288.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.03896, allocations: 141.1 kB / 288.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.03966, allocations: 202.9 kB / 288.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.04389, allocations: 3.918 MB / 292.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.04433, allocations: 0.5511 MB / 293.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.04459, allocations: 175.5 kB / 293.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.04491, allocations: 254.2 kB / 293.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04491, allocations: 0 / 293.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of Templates: time 0.02497/0.06988, allocations: 16.44 MB / 310.2 MB, free: 12.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.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: 3.147169637028128]