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.0008329/0.0008329, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009233/0.0009233, allocations: 171.4 kB / 25.33 MB, free: 9.465 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.9987/0.9987, allocations: 158.6 MB / 187.2 MB, free: 2.531 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.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 1.793e-06/1.793e-06, allocations: 0 / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.921e-05, allocations: 9.344 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003346/0.003375, allocations: 2.691 MB / 253.7 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004739, allocations: 0.8887 MB / 254.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.004878, allocations: 4 kB / 254.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.005147, allocations: 67.36 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.005391, allocations: 103.2 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.00559, allocations: 95.75 kB / 254.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.005899, allocations: 370.4 kB / 255.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.006068, allocations: 70.05 kB / 255.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.006278, allocations: 207.5 kB / 255.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.006436, allocations: 111.7 kB / 255.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.006479, allocations: 28 kB / 255.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.37e-05/0.006512, allocations: 32 kB / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.006562, allocations: 71.73 kB / 255.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.006645, allocations: 99.75 kB / 255.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.007104, allocations: 235.1 kB / 256.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.007108, allocations: 0 / 256.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007109, allocations: 0 / 256.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.007116, allocations: 4 kB / 256.1 MB, free: 14.52 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007561/0.007872, allocations: 0.6324 MB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.00792, allocations: 11.98 kB / 256.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.007999, allocations: 56.7 kB / 256.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.008249, allocations: 208.1 kB / 257 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.008282, allocations: 21.03 kB / 257 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.008326, allocations: 24.38 kB / 257 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.008648, allocations: 229.1 kB / 257.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008658, allocations: 192 / 257.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.008679, allocations: 12.36 kB / 257.3 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.008692, allocations: 11.94 kB / 257.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.008868, allocations: 111.8 kB / 257.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.009894, allocations: 0.8476 MB / 258.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.01015, allocations: 165.2 kB / 258.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.01028, allocations: 67.66 kB / 258.5 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.01031, allocations: 8 kB / 258.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.01034, allocations: 41.33 kB / 258.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.01034, allocations: 4 kB / 258.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002537/0.01287, allocations: 1.195 MB / 259.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.01291, allocations: 55.41 kB / 259.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.0131, allocations: 270.7 kB / 260 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01313, allocations: 37.7 kB / 260.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01323, allocations: 239.2 kB / 260.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.0133, allocations: 119 kB / 260.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.01339, allocations: 71.69 kB / 260.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.01354, allocations: 0.5117 MB / 261 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.01364, allocations: 60.7 kB / 261 MB, free: 9.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.01377, allocations: 123.8 kB / 261.2 MB, free: 9.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.014, allocations: 194.1 kB / 261.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.014, allocations: 8 kB / 261.4 MB, free: 8.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007473/0.01475, allocations: 435.8 kB / 261.8 MB, free: 8.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01477, allocations: 4 kB / 261.8 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01478, allocations: 0 / 261.8 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009419/0.01572, allocations: 311 kB / 262.1 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01588, allocations: 63.84 kB / 262.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.01911, allocations: 4.604 MB / 266.8 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01921, allocations: 12 kB / 266.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01923, allocations: 12 kB / 266.8 MB, free: 3.234 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.0001312/0.01936, allocations: 176.5 kB / 267 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.0194, allocations: 35.86 kB / 267 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.01946, allocations: 42.64 kB / 267 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01946, allocations: 8.031 kB / 267 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.01947, allocations: 3.938 kB / 267 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01948, allocations: 3.984 kB / 267 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.02057, allocations: 0.7876 MB / 267.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02057, allocations: 0 / 267.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.02068, allocations: 43.97 kB / 267.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008102/0.02149, allocations: 319.3 kB / 268.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.02151, allocations: 4 kB / 268.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.02468, allocations: 4.592 MB / 272.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02468, allocations: 0 / 272.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.02552, allocations: 0.5995 MB / 273.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.02554, allocations: 31.73 kB / 273.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.02556, allocations: 8 kB / 273.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.02566, allocations: 12 kB / 273.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.02573, allocations: 35.88 kB / 273.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.02574, allocations: 4 kB / 273.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.02585, allocations: 200.9 kB / 273.7 MB, free: 12 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02585, allocations: 4.031 kB / 273.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.02624, allocations: 100 kB / 273.8 MB, free: 11.89 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.0001162/0.02635, allocations: 99.25 kB / 273.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.02698, allocations: 0.5925 MB / 274.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.02698, allocations: 4 kB / 274.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.02731, allocations: 0.4911 MB / 275 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.02756, allocations: 32.67 kB / 275 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02873, allocations: 0.6272 MB / 275.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.02881, allocations: 105.2 kB / 275.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.02886, allocations: 22.3 kB / 275.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.02891, allocations: 20.5 kB / 275.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02891, allocations: 0 / 275.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of Templates: time 0.007792/0.0367, allocations: 5.898 MB / 281.7 MB, free: 3.855 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","",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.1825887113809586]