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.001181/0.001181, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001212/0.001212, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.299/1.299, allocations: 205.1 MB / 224.5 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.001326/0.001326, allocations: 51.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004828/0.1081, allocations: 2.668 MB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.11, allocations: 0.9041 MB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1102, allocations: 4 kB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1105, allocations: 67.42 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.1107, allocations: 99.19 kB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.111, allocations: 99.81 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.1114, allocations: 358.6 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1116, allocations: 109.7 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1118, allocations: 135.5 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1994/0.3112, allocations: 143.8 kB / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.3115, allocations: 29.97 kB / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.3116, allocations: 29.25 kB / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3117, allocations: 69.12 kB / 379.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.312, allocations: 152.9 kB / 380 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.3127, allocations: 360.9 kB / 380.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3127, allocations: 0 / 380.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3127, allocations: 0.8125 kB / 380.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.3127, allocations: 4.188 kB / 380.3 MB, free: 9.992 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.001212/0.3139, allocations: 0.6013 MB / 380.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.314, allocations: 16.95 kB / 380.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3141, allocations: 38.97 kB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.3145, allocations: 255.7 kB / 381.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.3146, allocations: 20 kB / 381.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.3146, allocations: 26.34 kB / 381.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.3151, allocations: 252.4 kB / 381.5 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3151, allocations: 5.438 kB / 381.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.3152, allocations: 11.12 kB / 381.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3152, allocations: 6.875 kB / 381.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.3156, allocations: 214.6 kB / 381.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3172, allocations: 0.997 MB / 382.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.3177, allocations: 203.6 kB / 382.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.318, allocations: 109.7 kB / 383.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.3181, allocations: 8.031 kB / 383.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3181, allocations: 37.91 kB / 383.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.3181, allocations: 0 / 383.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004761/0.3229, allocations: 1.541 MB / 384.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.3229, allocations: 61.62 kB / 384.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3231, allocations: 229.5 kB / 384.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3232, allocations: 37.67 kB / 385 MB, free: 7.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.3232, allocations: 179.8 kB / 385.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.3233, allocations: 121.5 kB / 385.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3234, allocations: 64.22 kB / 385.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.3235, allocations: 339 kB / 385.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.3237, allocations: 105.5 kB / 385.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.324, allocations: 164.1 kB / 385.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.3245, allocations: 274.5 kB / 386.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3245, allocations: 4 kB / 386.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00143/0.3259, allocations: 0.5347 MB / 386.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3259, allocations: 6.109 kB / 386.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.326, allocations: 1.125 kB / 386.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3271, allocations: 241.2 kB / 387 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.3274, allocations: 60.19 kB / 387 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.3315, allocations: 4.133 MB / 391.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3317, allocations: 14.45 kB / 391.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3317, allocations: 14.23 kB / 391.2 MB, free: 3.297 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.0001479/0.3319, allocations: 152.6 kB / 391.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3319, allocations: 25.05 kB / 391.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.332, allocations: 38.52 kB / 391.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.332, allocations: 4.562 kB / 391.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3321, allocations: 1.469 kB / 391.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3321, allocations: 3.219 kB / 391.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.3344, allocations: 0.9778 MB / 392.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3344, allocations: 7.922 kB / 392.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.3346, allocations: 42.67 kB / 392.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3358, allocations: 240.8 kB / 392.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3358, allocations: 7.172 kB / 392.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.3398, allocations: 4.131 MB / 396.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3398, allocations: 1.406 kB / 396.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3415, allocations: 0.7304 MB / 397.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.3416, allocations: 102.2 kB / 397.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3417, allocations: 10.66 kB / 397.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3419, allocations: 14.33 kB / 397.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.342, allocations: 34.31 kB / 397.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.3421, allocations: 11.95 kB / 397.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3422, allocations: 163.1 kB / 397.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 3.938 kB / 397.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005931/0.3428, allocations: 103.1 kB / 398 MB, free: 14.26 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.0001435/0.343, allocations: 105.3 kB / 398.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.344, allocations: 0.572 MB / 398.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.344, allocations: 0 / 398.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.3446, allocations: 438.6 kB / 399.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3449, allocations: 24.88 kB / 399.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3463, allocations: 0.6909 MB / 399.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.3467, allocations: 0.7796 MB / 400.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.3468, allocations: 15.61 kB / 400.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.3468, allocations: 18.11 kB / 400.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3469, allocations: 4 kB / 400.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01124/0.3581, allocations: 5.498 MB / 406.1 MB, free: 10.99 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/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) Reference file matches