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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 107.5 kB / 18.39 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 51.91 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004532/0.109, allocations: 2.661 MB / 378.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.111, allocations: 0.9119 MB / 379.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.1114, allocations: 7.938 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1118, allocations: 59.52 kB / 379.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.1123, allocations: 111.1 kB / 379.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1127, allocations: 87.83 kB / 379.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.1133, allocations: 358.6 kB / 380 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.1135, allocations: 109.7 kB / 380.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.1139, allocations: 135.5 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2173/0.3312, allocations: 147 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3314, allocations: 29.12 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3315, allocations: 29.72 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.3316, allocations: 67.91 kB / 380.5 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3318, allocations: 154 kB / 380.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3323, allocations: 359.3 kB / 381 MB, free: 9.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3323, allocations: 2.609 kB / 381 MB, free: 9.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3323, allocations: 0 / 381 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3323, allocations: 0 / 381 MB, free: 9.965 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.0009639/0.3333, allocations: 0.5963 MB / 381.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3333, allocations: 21.23 kB / 381.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.3334, allocations: 36.88 kB / 381.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3338, allocations: 261.1 kB / 381.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3338, allocations: 21 kB / 381.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3339, allocations: 28.47 kB / 382 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3344, allocations: 246.2 kB / 382.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3344, allocations: 3.938 kB / 382.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.3344, allocations: 17.91 kB / 382.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3344, allocations: 5.5 kB / 382.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3349, allocations: 208.8 kB / 382.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3364, allocations: 1 MB / 383.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3369, allocations: 210.1 kB / 383.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.3372, allocations: 109.9 kB / 383.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3372, allocations: 2.656 kB / 383.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3373, allocations: 37.02 kB / 383.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.3373, allocations: 1.156 kB / 383.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004869/0.3422, allocations: 1.537 MB / 385.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.3422, allocations: 60.16 kB / 385.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.3426, allocations: 231 kB / 385.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3426, allocations: 35.52 kB / 385.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3427, allocations: 180.8 kB / 385.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3429, allocations: 122.5 kB / 385.9 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.343, allocations: 64.52 kB / 386 MB, free: 7.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3431, allocations: 335.5 kB / 386.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.3434, allocations: 109.5 kB / 386.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.3437, allocations: 161.2 kB / 386.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.3443, allocations: 276.1 kB / 386.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3443, allocations: 1.734 kB / 386.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001629/0.3459, allocations: 0.5375 MB / 387.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.346, allocations: 5.781 kB / 387.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.346, allocations: 4.594 kB / 387.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.3471, allocations: 244.3 kB / 387.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3474, allocations: 57.52 kB / 387.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004043/0.3515, allocations: 4.132 MB / 391.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.3517, allocations: 11.95 kB / 391.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.3517, allocations: 16.97 kB / 391.9 MB, free: 3.277 MB / 318.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.000151/0.3519, allocations: 152.6 kB / 392 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.352, allocations: 24.73 kB / 392 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.3521, allocations: 39.19 kB / 392.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3521, allocations: 4.25 kB / 392.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3521, allocations: 2.797 kB / 392.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3521, allocations: 5.625 kB / 392.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.3541, allocations: 0.9837 MB / 393.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3541, allocations: 1.312 kB / 393.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3543, allocations: 46.78 kB / 393.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.3554, allocations: 242.8 kB / 393.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3555, allocations: 8.328 kB / 393.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.3595, allocations: 4.124 MB / 397.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3595, allocations: 1.062 kB / 397.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.3612, allocations: 0.7289 MB / 398.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.3613, allocations: 100.7 kB / 398.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3614, allocations: 11.34 kB / 398.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3616, allocations: 16.47 kB / 398.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.3617, allocations: 31.78 kB / 398.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3617, allocations: 11.17 kB / 398.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3619, allocations: 164.4 kB / 398.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 0 / 398.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005995/0.3625, allocations: 108.3 kB / 398.6 MB, free: 14.23 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.000134/0.3627, allocations: 106.1 kB / 398.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.3637, allocations: 0.5706 MB / 399.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3637, allocations: 0 / 399.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.3643, allocations: 437.7 kB / 399.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3646, allocations: 21.58 kB / 399.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3659, allocations: 0.7212 MB / 400.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3663, allocations: 0.7806 MB / 401.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.3664, allocations: 20.88 kB / 401.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3664, allocations: 0 / 401.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Templates: time 0.008982/0.3754, allocations: 5.983 MB / 407.3 MB, free: 10.54 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (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) 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) Reference file matches