Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.002383/0.002383, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002566/0.002566, allocations: 165.6 kB / 25.03 MB, free: 8.91 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 1.354/1.354, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 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.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.339e-05, allocations: 2.312 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004636/0.004669, allocations: 2.654 MB / 253 MB, free: 5.172 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.006385, allocations: 0.8809 MB / 253.9 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.006525, allocations: 4 kB / 253.9 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.006795, allocations: 67.42 kB / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.007111, allocations: 107.1 kB / 254.1 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.007392, allocations: 95.8 kB / 254.2 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.007839, allocations: 366.4 kB / 254.5 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.008014, allocations: 66.05 kB / 254.6 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.008342, allocations: 207.6 kB / 254.8 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.008555, allocations: 115.6 kB / 254.9 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.008618, allocations: 28 kB / 254.9 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.008677, allocations: 28 kB / 254.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.00876, allocations: 75.73 kB / 255 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.008899, allocations: 99.75 kB / 255.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.009403, allocations: 374.8 kB / 255.5 MB, free: 2.676 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009407, allocations: 4 kB / 255.5 MB, free: 2.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009408, allocations: 0 / 255.5 MB, free: 2.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.009414, allocations: 0 / 255.5 MB, free: 2.672 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001156/0.01057, allocations: 0.6439 MB / 256.1 MB, free: 1.992 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.01061, allocations: 15.92 kB / 256.1 MB, free: 1.977 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.01073, allocations: 56.7 kB / 256.2 MB, free: 1.922 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.01107, allocations: 204.1 kB / 256.4 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.0111, allocations: 25.03 kB / 256.4 MB, free: 1.668 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.01115, allocations: 28.38 kB / 256.5 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.01168, allocations: 272.3 kB / 256.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01169, allocations: 192 / 256.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.01172, allocations: 12.38 kB / 256.7 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.01174, allocations: 7.938 kB / 256.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.0122, allocations: 198.5 kB / 256.9 MB, free: 1.148 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.01403, allocations: 0.9333 MB / 257.9 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.0145, allocations: 202.9 kB / 258.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.01475, allocations: 99.64 kB / 258.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.01479, allocations: 4 kB / 258.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.01484, allocations: 49.31 kB / 258.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.182e-06/0.01484, allocations: 3.938 kB / 258.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.005407/0.02024, allocations: 1.422 MB / 259.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.02029, allocations: 55.41 kB / 259.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.02063, allocations: 314.6 kB / 260 MB, free: 13.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.02066, allocations: 41.64 kB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.02084, allocations: 235.3 kB / 260.3 MB, free: 13.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.02097, allocations: 126.9 kB / 260.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.02113, allocations: 83.67 kB / 260.5 MB, free: 13.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003023/0.02143, allocations: 0.5235 MB / 261 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.02167, allocations: 104.7 kB / 261.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.02197, allocations: 175.9 kB / 261.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.02253, allocations: 302.1 kB / 261.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02253, allocations: 0 / 261.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001698/0.02423, allocations: 0.5505 MB / 262.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.02425, allocations: 8 kB / 262.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02426, allocations: 0 / 262.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.0263, allocations: 358.9 kB / 262.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.02658, allocations: 51.97 kB / 262.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.03306, allocations: 5.104 MB / 267.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.03332, allocations: 11.94 kB / 267.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.03336, allocations: 15.98 kB / 267.7 MB, free: 5.914 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.03361, allocations: 200.5 kB / 267.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.03369, allocations: 39.84 kB / 267.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.03381, allocations: 38.64 kB / 267.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.03381, allocations: 4 kB / 267.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.03382, allocations: 3.938 kB / 267.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.03383, allocations: 0 / 267.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.03629, allocations: 0.9594 MB / 268.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.0363, allocations: 0 / 268.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.03653, allocations: 47.91 kB / 269 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.03851, allocations: 355 kB / 269.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.03854, allocations: 8 kB / 269.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.04488, allocations: 5.092 MB / 274.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04488, allocations: 0 / 274.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.04687, allocations: 0.7987 MB / 275.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.04693, allocations: 31.75 kB / 275.2 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.04697, allocations: 8 kB / 275.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.04719, allocations: 16.02 kB / 275.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.0473, allocations: 31.94 kB / 275.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.04732, allocations: 8 kB / 275.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.04755, allocations: 216.9 kB / 275.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04755, allocations: 0 / 275.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006288/0.04818, allocations: 104 kB / 275.6 MB, free: 13.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.04834, allocations: 111.1 kB / 275.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.04955, allocations: 0.6785 MB / 276.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.04955, allocations: 4 kB / 276.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.05034, allocations: 0.5539 MB / 276.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.0507, allocations: 40.05 kB / 277 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.0521, allocations: 0.662 MB / 277.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.0523, allocations: 168.5 kB / 277.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.476e-05/0.05239, allocations: 26.28 kB / 277.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.05246, allocations: 20.48 kB / 277.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05246, allocations: 0 / 277.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.013/0.06546, allocations: 5.875 MB / 283.7 MB, free: 5.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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: 4.585693839006126]