Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001309/0.001309, allocations: 105.4 kB / 18.35 MB, free: 4.77 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.001328/0.001328, allocations: 192 kB / 19.29 MB, free: 3.84 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.332/1.332, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001216/0.001217, allocations: 55.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09636, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003376/0.09978, allocations: 1.998 MB / 330.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1008, allocations: 0.6056 MB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.1008, allocations: 4 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.1009, allocations: 15.8 kB / 331.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.101, allocations: 47.62 kB / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1014, allocations: 103.7 kB / 331.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1016, allocations: 183.2 kB / 331.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1018, allocations: 49.45 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1019, allocations: 79.7 kB / 331.8 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.102, allocations: 71.69 kB / 331.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1021, allocations: 23.94 kB / 331.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.1021, allocations: 16 kB / 331.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1022, allocations: 39.83 kB / 332 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.1022, allocations: 71.67 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1024, allocations: 175.4 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1024, allocations: 0 / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1025, allocations: 0 / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1025, allocations: 0 / 332.2 MB, free: 276 kB / 270.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.0007663/0.1032, allocations: 478.8 kB / 332.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1033, allocations: 11.89 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1033, allocations: 12.84 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1035, allocations: 200 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1035, allocations: 8.375 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1036, allocations: 4.375 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1039, allocations: 164.3 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1039, allocations: 0 / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1039, allocations: 4 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.104, allocations: 4 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.1042, allocations: 95.94 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.1051, allocations: 0.4915 MB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.1054, allocations: 114.5 kB / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1056, allocations: 72.83 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1057, allocations: 0 / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1057, allocations: 42.5 kB / 333.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.81e-07/0.1057, allocations: 0 / 333.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.1062, allocations: 145.7 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1062, allocations: 110.8 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1064, allocations: 162 kB / 334.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1064, allocations: 29.7 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.1065, allocations: 119.9 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1065, allocations: 31.5 kB / 334.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.1066, allocations: 33.69 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.1067, allocations: 318.8 kB / 334.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1068, allocations: 39.97 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.107, allocations: 76.27 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.1072, allocations: 110.5 kB / 335 MB, free: 13.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1072, allocations: 0 / 335 MB, free: 13.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003208/0.1076, allocations: 145.5 kB / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1076, allocations: 7.938 kB / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1076, allocations: 32 / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1076, allocations: 8 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.1082, allocations: 79.86 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.1096, allocations: 1.5 MB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1098, allocations: 24.14 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1098, allocations: 3.938 kB / 336.8 MB, free: 11.25 MB / 286.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 0.0001168/0.1099, allocations: 125.8 kB / 336.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.11, allocations: 11.81 kB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.1104, allocations: 155.2 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1105, allocations: 0 / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1105, allocations: 3.938 kB / 337.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1105, allocations: 7.938 kB / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.1112, allocations: 468 kB / 337.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1113, allocations: 0 / 337.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1114, allocations: 19.98 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/0.1116, allocations: 32.83 kB / 337.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1117, allocations: 4.031 kB / 337.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1127, allocations: 1.402 MB / 339 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1128, allocations: 3.938 kB / 339 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1133, allocations: 293.1 kB / 339.3 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1134, allocations: 88.95 kB / 339.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1134, allocations: 3.938 kB / 339.4 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1136, allocations: 15.98 kB / 339.4 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1137, allocations: 12.05 kB / 339.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1137, allocations: 4 kB / 339.4 MB, free: 8.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.1138, allocations: 119.2 kB / 339.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1138, allocations: 0 / 339.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1141, allocations: 39.94 kB / 339.6 MB, free: 8.207 MB / 286.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.000115/0.1142, allocations: 95.25 kB / 339.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006956/0.1149, allocations: 144.4 kB / 339.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1149, allocations: 0 / 339.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.1152, allocations: 166.7 kB / 340 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1155, allocations: 15.91 kB / 340 MB, free: 7.773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1171, allocations: 0.5284 MB / 340.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1173, allocations: 0.7157 MB / 341.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.1174, allocations: 8.562 kB / 341.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.1174, allocations: 19.42 kB / 341.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1174, allocations: 0 / 341.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of Templates: time 0.004443/0.1219, allocations: 1.64 MB / 342.9 MB, free: 4.809 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches