Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.356e-05, allocations: 3.984 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5254, allocations: 79.16 MB / 448.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.5258, allocations: 68.53 kB / 448.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03341/0.5592, allocations: 6.933 MB / 455.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5593, allocations: 4 kB / 455.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.5593, allocations: 8 kB / 455.3 MB, free: 8.141 MB / 330.7 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.00142/0.5607, allocations: 0.5233 MB / 455.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.5608, allocations: 12.03 kB / 455.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.561, allocations: 31.62 kB / 455.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.5616, allocations: 266.3 kB / 456.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.5617, allocations: 25.77 kB / 456.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.5618, allocations: 24.5 kB / 456.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.5625, allocations: 229 kB / 456.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5625, allocations: 0 / 456.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.5626, allocations: 14 kB / 456.4 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5626, allocations: 8 kB / 456.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.5632, allocations: 190.6 kB / 456.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.5659, allocations: 1.021 MB / 457.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.5666, allocations: 192 kB / 457.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.5669, allocations: 102.2 kB / 457.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.567, allocations: 0 / 457.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.567, allocations: 42.5 kB / 457.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.567, allocations: 0 / 457.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.006937/0.574, allocations: 1.22 MB / 459.1 MB, free: 4.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.5741, allocations: 55.41 kB / 459.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.5745, allocations: 203.7 kB / 459.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.5746, allocations: 29.64 kB / 459.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5748, allocations: 245.7 kB / 459.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5749, allocations: 117.8 kB / 459.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.575, allocations: 7.875 kB / 459.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5751, allocations: 330.5 kB / 460.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.5754, allocations: 97.77 kB / 460.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.5758, allocations: 150.4 kB / 460.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.5761, allocations: 119.1 kB / 460.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5762, allocations: 0 / 460.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002624/0.5788, allocations: 0.5007 MB / 461 MB, free: 3.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.5789, allocations: 4 kB / 461 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5789, allocations: 3.938 kB / 461 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.5804, allocations: 193.5 kB / 461.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.581, allocations: 59.91 kB / 461.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00769/0.5887, allocations: 3.757 MB / 465 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.5893, allocations: 20.03 kB / 465 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.5894, allocations: 15.98 kB / 465 MB, free: 14.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.5895, allocations: 120.9 kB / 465.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.5896, allocations: 23.72 kB / 465.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.5898, allocations: 43.08 kB / 465.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.5898, allocations: 8.062 kB / 465.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5898, allocations: 0 / 465.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5899, allocations: 3.953 kB / 465.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.5933, allocations: 0.9417 MB / 466.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.5934, allocations: 3.984 kB / 466.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.5939, allocations: 35.98 kB / 466.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.5953, allocations: 185.5 kB / 466.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.5954, allocations: 11.98 kB / 466.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007353/0.6028, allocations: 3.752 MB / 470.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6029, allocations: 3.984 kB / 470.1 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.6059, allocations: 0.7143 MB / 470.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6061, allocations: 104.7 kB / 470.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.6062, allocations: 12 kB / 471 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.6066, allocations: 12 kB / 471 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.6068, allocations: 27.95 kB / 471 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.6069, allocations: 11.94 kB / 471 MB, free: 8.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002656/0.6072, allocations: 169.4 kB / 471.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6072, allocations: 0 / 471.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009046/0.6081, allocations: 100 kB / 471.3 MB, free: 8.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/0.6084, allocations: 120 kB / 471.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.6099, allocations: 0.5319 MB / 471.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6099, allocations: 0 / 471.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000938/0.6109, allocations: 421.3 kB / 472.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.6113, allocations: 12.44 kB / 472.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.613, allocations: 491.7 kB / 472.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.6135, allocations: 0.7879 MB / 473.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.6136, allocations: 23.42 kB / 473.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of SimCode: time 1.502e-06/0.6136, allocations: 0 / 473.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of Templates: time 0.0146/0.6282, allocations: 5.81 MB / 479.4 MB, free: 15.73 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches