Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.4 kB / 17.74 MB, free: 5.23 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.00103/0.00103, allocations: 188.5 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 39.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2794, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003566/0.2831, allocations: 2.025 MB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2842, allocations: 0.5688 MB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2843, allocations: 4 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.2844, allocations: 15.8 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.2846, allocations: 43.62 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.2849, allocations: 95.73 kB / 404.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.2852, allocations: 191.2 kB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2854, allocations: 41.48 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.2856, allocations: 83.69 kB / 404.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2857, allocations: 71.69 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.2858, allocations: 16 kB / 404.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.2858, allocations: 19.94 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.2859, allocations: 39.89 kB / 404.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.245e-05/0.286, allocations: 75.66 kB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2862, allocations: 172.5 kB / 404.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2862, allocations: 0 / 404.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2862, allocations: 7.938 kB / 404.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.2862, allocations: 0 / 404.9 MB, free: 5.398 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008476/0.2871, allocations: 470.8 kB / 405.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2871, allocations: 15.89 kB / 405.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.2872, allocations: 16.75 kB / 405.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2874, allocations: 203.8 kB / 405.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2874, allocations: 8.375 kB / 405.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.2874, allocations: 4.375 kB / 405.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.2879, allocations: 164.3 kB / 405.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2879, allocations: 0 / 405.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2879, allocations: 4 kB / 405.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2879, allocations: 4 kB / 405.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2882, allocations: 91.94 kB / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.2892, allocations: 0.5031 MB / 406.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2895, allocations: 106.5 kB / 406.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2897, allocations: 64.83 kB / 406.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2898, allocations: 0 / 406.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2898, allocations: 42.5 kB / 406.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2898, allocations: 0 / 406.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000457/0.2903, allocations: 145.7 kB / 406.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.2903, allocations: 106.8 kB / 406.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2905, allocations: 157 kB / 406.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2905, allocations: 33.64 kB / 407 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2906, allocations: 119.9 kB / 407.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2906, allocations: 31.55 kB / 407.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.2907, allocations: 29.7 kB / 407.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2908, allocations: 322.8 kB / 407.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2909, allocations: 43.97 kB / 407.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2911, allocations: 76.27 kB / 407.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2913, allocations: 94.8 kB / 407.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2913, allocations: 4.031 kB / 407.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003257/0.2917, allocations: 149.5 kB / 407.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2917, allocations: 7.938 kB / 407.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2917, allocations: 7.984 kB / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2917, allocations: 0 / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.2923, allocations: 83.95 kB / 407.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2937, allocations: 1.5 MB / 409.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2939, allocations: 23.95 kB / 409.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2939, allocations: 11.92 kB / 409.5 MB, free: 396 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.294, allocations: 125.9 kB / 409.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.2941, allocations: 11.91 kB / 409.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.2945, allocations: 151.1 kB / 409.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2945, allocations: 11.94 kB / 409.8 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2945, allocations: 3.938 kB / 409.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2945, allocations: 0 / 409.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.2952, allocations: 468 kB / 410.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2953, allocations: 0 / 410.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2954, allocations: 31.97 kB / 410.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.2956, allocations: 20.84 kB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2956, allocations: 4 kB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.2967, allocations: 1.391 MB / 411.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2967, allocations: 12.03 kB / 411.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.2973, allocations: 289.1 kB / 412 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.2973, allocations: 92.97 kB / 412 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2974, allocations: 3.938 kB / 412.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2975, allocations: 19.98 kB / 412.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2976, allocations: 7.984 kB / 412.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.2976, allocations: 0 / 412.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.2977, allocations: 123.3 kB / 412.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2977, allocations: 0 / 412.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.298, allocations: 39.91 kB / 412.2 MB, free: 13.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.2981, allocations: 103.2 kB / 412.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.2988, allocations: 143.9 kB / 412.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2988, allocations: 0 / 412.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.2991, allocations: 162.6 kB / 412.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2994, allocations: 12 kB / 412.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3009, allocations: 0.5611 MB / 413.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3012, allocations: 0.708 MB / 413.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3013, allocations: 23.42 kB / 413.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3013, allocations: 0 / 413.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Templates: time 0.004091/0.3054, allocations: 2.207 MB / 416.1 MB, free: 9.348 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches