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.001549/0.001549, allocations: 181.5 kB / 17.41 MB, free: 4.164 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.537/2.537, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.001114/0.001113, allocations: 81.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005381, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4415, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.6018, allocations: 79.3 MB / 455 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004377/0.6024, allocations: 71.95 kB / 455.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02899/0.6314, allocations: 6.949 MB / 462 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6315, allocations: 0 / 462 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.704e-05/0.6316, allocations: 8 kB / 462 MB, free: 10.26 MB / 346.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.001298/0.6329, allocations: 0.5502 MB / 462.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.6329, allocations: 8.031 kB / 462.6 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.6331, allocations: 32.56 kB / 462.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.6336, allocations: 268.1 kB / 462.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.6337, allocations: 24.88 kB / 462.9 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.6338, allocations: 24.38 kB / 462.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.6345, allocations: 257.2 kB / 463.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6346, allocations: 3.938 kB / 463.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.6346, allocations: 12 kB / 463.2 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6346, allocations: 4 kB / 463.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.6353, allocations: 222.1 kB / 463.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.6378, allocations: 1.024 MB / 464.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.6385, allocations: 202.5 kB / 464.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.6388, allocations: 108.9 kB / 464.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.6389, allocations: 12.02 kB / 464.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.639, allocations: 34.55 kB / 464.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 4.148e-06/0.639, allocations: 0 / 464.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.007124/0.6461, allocations: 1.5 MB / 466.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.6463, allocations: 63.28 kB / 466.4 MB, free: 5.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.6467, allocations: 224.9 kB / 466.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.6467, allocations: 29.7 kB / 466.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6469, allocations: 180.2 kB / 466.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.647, allocations: 118.2 kB / 466.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.6471, allocations: 8 kB / 466.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6473, allocations: 334.8 kB / 467.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.6476, allocations: 111.9 kB / 467.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.648, allocations: 161.4 kB / 467.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.6488, allocations: 287 kB / 467.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6488, allocations: 0 / 467.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002209/0.651, allocations: 0.5314 MB / 468.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.6511, allocations: 8 kB / 468.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6511, allocations: 0 / 468.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/0.6531, allocations: 257.4 kB / 468.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.6535, allocations: 59.91 kB / 468.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.6603, allocations: 3.744 MB / 472.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.6608, allocations: 12.03 kB / 472.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.6609, allocations: 15.98 kB / 472.4 MB, free: 15.25 MB / 362.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 () * Number of clocked 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.0003524/0.6613, allocations: 149.8 kB / 472.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.6614, allocations: 27.91 kB / 472.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.6615, allocations: 38.95 kB / 472.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6615, allocations: 4 kB / 472.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.6615, allocations: 7.875 kB / 472.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.6616, allocations: 4 kB / 472.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6645, allocations: 0.9456 MB / 473.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6646, allocations: 0 / 473.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.6649, allocations: 39.97 kB / 473.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.6668, allocations: 249.5 kB / 473.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.6668, allocations: 11.94 kB / 473.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/0.6743, allocations: 3.728 MB / 477.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.6744, allocations: 4.031 kB / 477.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6771, allocations: 0.7202 MB / 478.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.6774, allocations: 100.9 kB / 478.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.6775, allocations: 15.92 kB / 478.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.6778, allocations: 12 kB / 478.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.6781, allocations: 31.94 kB / 478.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.6781, allocations: 8.281 kB / 478.5 MB, free: 8.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.6784, allocations: 164.5 kB / 478.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6784, allocations: 0 / 478.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001095/0.6795, allocations: 111.9 kB / 478.8 MB, free: 8.5 MB / 362.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 () * Number of clocked 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.0003378/0.6799, allocations: 119.2 kB / 478.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.6816, allocations: 0.5559 MB / 479.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6817, allocations: 0 / 479.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008694/0.6825, allocations: 434.2 kB / 479.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.6831, allocations: 27.19 kB / 479.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.6852, allocations: 0.8612 MB / 480.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.6859, allocations: 0.7801 MB / 481.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.686, allocations: 15.44 kB / 481.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.686, allocations: 0 / 481.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of Templates: time 0.01347/0.6995, allocations: 6.005 MB / 487.6 MB, free: 15.58 MB / 378.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