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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 178.9 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.3 MB / 214.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009364, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.613e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08721, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3245/0.4118, allocations: 78.74 MB / 441.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.412, allocations: 71.84 kB / 441.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.4309, allocations: 6.869 MB / 448.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.431, allocations: 0 / 448.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.431, allocations: 8 kB / 448.8 MB, free: 11.2 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.0008208/0.4318, allocations: 0.5318 MB / 449.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4319, allocations: 8.031 kB / 449.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.432, allocations: 35.61 kB / 449.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.4323, allocations: 259.5 kB / 449.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4324, allocations: 11.95 kB / 449.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.4324, allocations: 19.94 kB / 449.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003587/0.4328, allocations: 174.2 kB / 449.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.4331, allocations: 192.9 kB / 450 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4332, allocations: 0 / 450 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.4332, allocations: 0 / 450 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4332, allocations: 8 kB / 450 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4347, allocations: 0.9668 MB / 450.9 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.435, allocations: 180.9 kB / 451.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.4352, allocations: 87.05 kB / 451.2 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4352, allocations: 4 kB / 451.2 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4352, allocations: 34.56 kB / 451.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.4352, allocations: 0 / 451.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.003423/0.4387, allocations: 1.106 MB / 452.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.4387, allocations: 55.41 kB / 452.4 MB, free: 7.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4389, allocations: 183.5 kB / 452.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4389, allocations: 25.7 kB / 452.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4391, allocations: 196.4 kB / 452.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.4391, allocations: 115 kB / 452.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.4392, allocations: 0 / 452.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4393, allocations: 337 kB / 453.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4394, allocations: 89.39 kB / 453.3 MB, free: 7.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.4396, allocations: 140.4 kB / 453.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4398, allocations: 112.8 kB / 453.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4398, allocations: 3.953 kB / 453.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001353/0.4411, allocations: 480.8 kB / 454.1 MB, free: 6.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4412, allocations: 4 kB / 454.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4412, allocations: 11.89 kB / 454.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.442, allocations: 185.9 kB / 454.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.4423, allocations: 63.22 kB / 454.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/0.4465, allocations: 3.614 MB / 457.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.4468, allocations: 4 kB / 457.9 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.4469, allocations: 15.67 kB / 457.9 MB, free: 2.891 MB / 330.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.0001251/0.447, allocations: 112.9 kB / 458.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.4471, allocations: 23.72 kB / 458.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.4472, allocations: 32.78 kB / 458.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4472, allocations: 4 kB / 458.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4472, allocations: 4.062 kB / 458.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4472, allocations: 3.984 kB / 458.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.449, allocations: 0.8657 MB / 459 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.449, allocations: 0 / 459 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.4493, allocations: 43.16 kB / 459 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007512/0.45, allocations: 193.4 kB / 459.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.4501, allocations: 3.984 kB / 459.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.4541, allocations: 3.612 MB / 462.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.4542, allocations: 7.938 kB / 462.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4557, allocations: 0.6836 MB / 463.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4558, allocations: 100.8 kB / 463.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.4559, allocations: 0 / 463.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4561, allocations: 11.98 kB / 463.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.4562, allocations: 25.97 kB / 463.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.4562, allocations: 15.98 kB / 463.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.4564, allocations: 147.1 kB / 463.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4564, allocations: 0 / 463.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006703/0.457, allocations: 100 kB / 463.9 MB, free: 13.5 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.0001994/0.4573, allocations: 103.2 kB / 464 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.458, allocations: 0.5083 MB / 464.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4581, allocations: 0 / 464.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.4585, allocations: 385.4 kB / 464.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4588, allocations: 12.08 kB / 464.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.4597, allocations: 445.6 kB / 465.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.46, allocations: 0.7879 MB / 466.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.4601, allocations: 22.08 kB / 466.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4602, allocations: 15.44 kB / 466.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4602, allocations: 0 / 466.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of Templates: time 0.008692/0.4689, allocations: 4.935 MB / 471.1 MB, free: 6.441 MB / 346.7 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches