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.0009574/0.0009574, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0008784/0.0008784, allocations: 174.2 kB / 25.33 MB, free: 9.461 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.9852/0.9852, allocations: 158.6 MB / 187.2 MB, free: 2.941 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.462e-06/1.462e-06, allocations: 3.938 kB / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.238e-05, allocations: 2.312 kB / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002865/0.002887, allocations: 2.693 MB / 253.7 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004134, allocations: 0.8887 MB / 254.6 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.00429, allocations: 7.938 kB / 254.6 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.004523, allocations: 55.45 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.004783, allocations: 107.2 kB / 254.8 MB, free: 3.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.005012, allocations: 99.73 kB / 254.9 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.005345, allocations: 366.2 kB / 255.2 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.005501, allocations: 74.03 kB / 255.3 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.005737, allocations: 211.5 kB / 255.5 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.00588, allocations: 111.7 kB / 255.6 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.005922, allocations: 28 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.524e-05/0.005958, allocations: 32 kB / 255.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.006002, allocations: 71.72 kB / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.006084, allocations: 107.8 kB / 255.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.009451, allocations: 231.1 kB / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.009454, allocations: 0 / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.009455, allocations: 0 / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.009462, allocations: 4 kB / 256.1 MB, free: 2.449 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.0009738/0.01044, allocations: 0.6285 MB / 256.7 MB, free: 1.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.01048, allocations: 15.98 kB / 256.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.0106, allocations: 56.7 kB / 256.8 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.01091, allocations: 204.1 kB / 257 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.01095, allocations: 25.02 kB / 257 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.01101, allocations: 28.38 kB / 257 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.01145, allocations: 225.1 kB / 257.2 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01147, allocations: 192 / 257.2 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.0115, allocations: 12.38 kB / 257.3 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.01151, allocations: 7.938 kB / 257.3 MB, free: 1.176 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.01178, allocations: 119.8 kB / 257.4 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.01322, allocations: 0.8512 MB / 258.2 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.01357, allocations: 147.1 kB / 258.4 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.01374, allocations: 75.64 kB / 258.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.01376, allocations: 4 kB / 258.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.0138, allocations: 37.33 kB / 258.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.0138, allocations: 0 / 258.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003368/0.01717, allocations: 1.203 MB / 259.7 MB, free: 14.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.01721, allocations: 55.41 kB / 259.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01743, allocations: 274.6 kB / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.01745, allocations: 29.7 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01756, allocations: 231.2 kB / 260.3 MB, free: 13.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.01763, allocations: 130.9 kB / 260.4 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-05/0.01772, allocations: 71.69 kB / 260.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01785, allocations: 0.5078 MB / 261 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01795, allocations: 60.7 kB / 261 MB, free: 13.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01808, allocations: 123.8 kB / 261.2 MB, free: 13.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.01831, allocations: 198.1 kB / 261.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01831, allocations: 0 / 261.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007448/0.01906, allocations: 439.8 kB / 261.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01908, allocations: 4 kB / 261.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01908, allocations: 4 kB / 261.8 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009045/0.01999, allocations: 311 kB / 262.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.02016, allocations: 59.91 kB / 262.2 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.02336, allocations: 4.6 MB / 266.8 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.02347, allocations: 15.98 kB / 266.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.02349, allocations: 12 kB / 266.8 MB, free: 7.16 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.0001134/0.0236, allocations: 168.5 kB / 266.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.02365, allocations: 39.8 kB / 267 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.02369, allocations: 42.64 kB / 267 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0237, allocations: 4 kB / 267 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.0237, allocations: 11.97 kB / 267 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.02371, allocations: 0 / 267 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.02474, allocations: 0.7915 MB / 267.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.02475, allocations: 4 kB / 267.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.02486, allocations: 35.98 kB / 267.9 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.0257, allocations: 315.3 kB / 268.2 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02572, allocations: 8 kB / 268.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.02843, allocations: 4.6 MB / 272.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02843, allocations: 0 / 272.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.02927, allocations: 0.5995 MB / 273.4 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.02929, allocations: 31.75 kB / 273.4 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.02931, allocations: 8 kB / 273.4 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.0294, allocations: 11.98 kB / 273.4 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.02947, allocations: 35.88 kB / 273.5 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.02949, allocations: 12 kB / 273.5 MB, free: 108 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.02959, allocations: 192.9 kB / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02959, allocations: 0 / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.02997, allocations: 104 kB / 273.8 MB, free: 15.82 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 9.957e-05/0.03007, allocations: 103.2 kB / 273.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.03064, allocations: 0.5847 MB / 274.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03064, allocations: 4.25 kB / 274.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.03098, allocations: 0.4911 MB / 275 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.03121, allocations: 32.09 kB / 275 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.03227, allocations: 0.6387 MB / 275.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.03235, allocations: 105.2 kB / 275.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.0324, allocations: 14.3 kB / 275.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.03244, allocations: 20.5 kB / 275.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03245, allocations: 0 / 275.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Templates: time 0.007662/0.04011, allocations: 6.094 MB / 281.9 MB, free: 7.586 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: 2.953738756943494]