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.001413/0.001413, allocations: 112.2 kB / 21.94 MB, free: 12 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.001954/0.001954, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.46/1.46, allocations: 207.6 MB / 236 MB, free: 10.87 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.002005/0.002005, allocations: 47.92 kB / 348.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3393, allocations: 49.16 MB / 397.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003952/0.3432, allocations: 2.701 MB / 400.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3447, allocations: 0.9228 MB / 401.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3448, allocations: 3.75 kB / 401.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3451, allocations: 60.67 kB / 401.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.3454, allocations: 108.5 kB / 401.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3456, allocations: 92.22 kB / 401.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.346, allocations: 353.3 kB / 401.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.3462, allocations: 83.08 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.3464, allocations: 153 kB / 402 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3467, allocations: 143.5 kB / 402.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.3467, allocations: 29.19 kB / 402.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.3468, allocations: 30.41 kB / 402.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.3469, allocations: 72.41 kB / 402.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.347, allocations: 156.7 kB / 402.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3474, allocations: 361.7 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3474, allocations: 0 / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3474, allocations: 0 / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.3475, allocations: 5.438 kB / 402.8 MB, free: 6.188 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.001008/0.3485, allocations: 0.5316 MB / 403.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3485, allocations: 13.58 kB / 403.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.3486, allocations: 41.8 kB / 403.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3489, allocations: 206.4 kB / 403.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.349, allocations: 20.52 kB / 403.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.349, allocations: 26.31 kB / 403.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.3496, allocations: 250.4 kB / 403.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3496, allocations: 0 / 403.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3496, allocations: 10.28 kB / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.3496, allocations: 10.33 kB / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.3501, allocations: 211.8 kB / 404.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3517, allocations: 0.9659 MB / 405.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.3521, allocations: 188.9 kB / 405.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.3524, allocations: 96.31 kB / 405.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3524, allocations: 8.609 kB / 405.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3524, allocations: 43.75 kB / 405.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.744e-06/0.3524, allocations: 4 kB / 405.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004924/0.3574, allocations: 1.385 MB / 406.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.3574, allocations: 61.66 kB / 406.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.3576, allocations: 228.6 kB / 407.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3576, allocations: 31.08 kB / 407.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.3577, allocations: 187.8 kB / 407.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.3578, allocations: 123.7 kB / 407.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.3579, allocations: 64.61 kB / 407.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.358, allocations: 340.8 kB / 407.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3582, allocations: 104.1 kB / 407.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.3585, allocations: 158.4 kB / 408.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.3589, allocations: 278.4 kB / 408.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3589, allocations: 0 / 408.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00154/0.3605, allocations: 0.5351 MB / 408.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3605, allocations: 8.938 kB / 408.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3605, allocations: 5.141 kB / 408.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3617, allocations: 237 kB / 409.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.362, allocations: 60.94 kB / 409.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.3665, allocations: 3.93 MB / 413.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3668, allocations: 10.69 kB / 413.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3669, allocations: 14.64 kB / 413.2 MB, free: 15.06 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.0002393/0.3671, allocations: 155.3 kB / 413.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.3672, allocations: 32.56 kB / 413.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3673, allocations: 39.94 kB / 413.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3673, allocations: 4.219 kB / 413.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.3673, allocations: 5 kB / 413.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3673, allocations: 3.203 kB / 413.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.3697, allocations: 0.9554 MB / 414.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3697, allocations: 3.938 kB / 414.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3699, allocations: 44.59 kB / 414.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.3711, allocations: 240.9 kB / 414.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3712, allocations: 11.31 kB / 414.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.3764, allocations: 3.918 MB / 418.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3764, allocations: 0 / 418.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3784, allocations: 0.72 MB / 419.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.3785, allocations: 23.72 kB / 419.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3785, allocations: 14.77 kB / 419.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3787, allocations: 14 kB / 419.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3788, allocations: 37.8 kB / 419.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3789, allocations: 7.094 kB / 419.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3791, allocations: 169 kB / 419.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3791, allocations: 4.062 kB / 419.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.3798, allocations: 103.8 kB / 419.6 MB, free: 9.906 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.0001449/0.3799, allocations: 96.28 kB / 419.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.3811, allocations: 0.5603 MB / 420.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3811, allocations: 0 / 420.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.3817, allocations: 416.4 kB / 420.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3821, allocations: 40.2 kB / 420.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3837, allocations: 0.7137 MB / 421.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3842, allocations: 0.7838 MB / 422.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.3842, allocations: 23.41 kB / 422.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3843, allocations: 0 / 422.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of Templates: time 0.009898/0.3941, allocations: 6 MB / 428.3 MB, free: 3.734 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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: 8.195907376008108]