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.001832/0.001832, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.00229/0.00229, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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.589/1.589, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 55.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 49.16 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.00449/0.3352, allocations: 2.511 MB / 399.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3368, allocations: 0.8606 MB / 400.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.337, allocations: 4.656 kB / 400.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.3372, allocations: 59.81 kB / 400.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.3375, allocations: 104 kB / 400.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3378, allocations: 98.3 kB / 400.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.3383, allocations: 357.4 kB / 400.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.3385, allocations: 78.86 kB / 400.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.3388, allocations: 144.8 kB / 401 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.339, allocations: 131.2 kB / 401.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.339, allocations: 29.38 kB / 401.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.3391, allocations: 29.31 kB / 401.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3392, allocations: 68.14 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3393, allocations: 133.9 kB / 401.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.3399, allocations: 366.3 kB / 401.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3399, allocations: 1.438 kB / 401.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3399, allocations: 0 / 401.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3399, allocations: 0 / 401.8 MB, free: 6.355 MB / 318.1 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.0009845/0.3409, allocations: 0.5293 MB / 402.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.3409, allocations: 16.73 kB / 402.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.341, allocations: 37.3 kB / 402.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3414, allocations: 202.4 kB / 402.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.3414, allocations: 24.42 kB / 402.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.3415, allocations: 29.53 kB / 402.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.342, allocations: 277 kB / 402.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.342, allocations: 0 / 402.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.342, allocations: 15.22 kB / 402.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.342, allocations: 5.781 kB / 402.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.3425, allocations: 211.6 kB / 403.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3438, allocations: 0.808 MB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.3443, allocations: 187.9 kB / 404.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.3445, allocations: 101.5 kB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3446, allocations: 7.953 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3446, allocations: 33.31 kB / 404.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.3446, allocations: 3.938 kB / 404.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004877/0.3495, allocations: 1.388 MB / 405.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3495, allocations: 56.23 kB / 405.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.3497, allocations: 231.2 kB / 405.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3498, allocations: 39.14 kB / 405.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3499, allocations: 180.6 kB / 406.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.35, allocations: 127.5 kB / 406.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3502, allocations: 68.06 kB / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3503, allocations: 336.3 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3506, allocations: 106 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.3509, allocations: 161.8 kB / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.3514, allocations: 279.7 kB / 407.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3514, allocations: 0 / 407.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00157/0.353, allocations: 0.5289 MB / 407.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.353, allocations: 7.578 kB / 407.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.353, allocations: 0 / 407.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3543, allocations: 242.9 kB / 407.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3546, allocations: 60.81 kB / 408 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.3591, allocations: 3.847 MB / 411.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3594, allocations: 10.3 kB / 411.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3594, allocations: 12.91 kB / 411.9 MB, free: 15.41 MB / 334.1 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.0002482/0.3596, allocations: 150.1 kB / 412 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.3597, allocations: 28.84 kB / 412.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3598, allocations: 43.06 kB / 412.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3598, allocations: 7.297 kB / 412.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.3598, allocations: 5.156 kB / 412.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3599, allocations: 1.922 kB / 412.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.3622, allocations: 0.8528 MB / 413 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3622, allocations: 1 kB / 413 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3625, allocations: 54.88 kB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3637, allocations: 244.5 kB / 413.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3637, allocations: 6.5 kB / 413.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.3687, allocations: 3.826 MB / 417.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3687, allocations: 5.734 kB / 417.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.3707, allocations: 0.7216 MB / 417.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3707, allocations: 24.22 kB / 417.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3708, allocations: 10.44 kB / 417.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.371, allocations: 13.48 kB / 417.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.3711, allocations: 42.59 kB / 417.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3711, allocations: 7.125 kB / 417.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.3713, allocations: 163.2 kB / 418.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 0 / 418.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.372, allocations: 103.6 kB / 418.2 MB, free: 10.52 MB / 334.1 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.0001818/0.3722, allocations: 109.5 kB / 418.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3734, allocations: 0.5557 MB / 418.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3734, allocations: 0 / 418.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.3741, allocations: 420.3 kB / 419.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3744, allocations: 27.72 kB / 419.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.376, allocations: 0.6935 MB / 420 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3762, allocations: 172.5 kB / 420.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3763, allocations: 27.95 kB / 420.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3763, allocations: 17.06 kB / 420.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3763, allocations: 0 / 420.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of Templates: time 0.01241/0.3887, allocations: 5.988 MB / 426.2 MB, free: 4.969 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] 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: 5.070782143622637]