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.001664/0.001664, allocations: 188.2 kB / 16.4 MB, free: 5.625 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.375/2.375, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001143/0.001143, allocations: 110.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09886, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003752/0.1027, allocations: 2.15 MB / 376.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1047, allocations: 0.8155 MB / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1049, allocations: 4 kB / 377.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1052, allocations: 43.69 kB / 377.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.1058, allocations: 103.7 kB / 377.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1063, allocations: 83.72 kB / 377.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.1069, allocations: 227.6 kB / 378 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.1073, allocations: 77.69 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.1076, allocations: 119.6 kB / 378.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.108, allocations: 127.4 kB / 378.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1081, allocations: 16 kB / 378.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.1082, allocations: 16 kB / 378.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.1083, allocations: 47.77 kB / 378.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1084, allocations: 77.58 kB / 378.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.109, allocations: 263.4 kB / 378.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.109, allocations: 4 kB / 378.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.109, allocations: 0 / 378.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1091, allocations: 0 / 378.7 MB, free: 11.26 MB / 282.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.001817/0.1109, allocations: 0.5612 MB / 379.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.111, allocations: 15.97 kB / 379.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1112, allocations: 35.53 kB / 379.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.1118, allocations: 250.3 kB / 379.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.1118, allocations: 24.52 kB / 379.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.1119, allocations: 24 kB / 379.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1131, allocations: 252.8 kB / 379.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1131, allocations: 0 / 379.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.1132, allocations: 16 kB / 379.9 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1133, allocations: 4 kB / 379.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1144, allocations: 214.1 kB / 380.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.1179, allocations: 1.013 MB / 381.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.1189, allocations: 210.5 kB / 381.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.119, allocations: 3.984 kB / 381.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.119, allocations: 34.56 kB / 381.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 4.559e-06/0.1191, allocations: 0 / 381.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.01141/0.1305, allocations: 1.495 MB / 382.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.1306, allocations: 55.41 kB / 382.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.1311, allocations: 229 kB / 383.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.1312, allocations: 33.7 kB / 383.1 MB, free: 6.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1315, allocations: 242.6 kB / 383.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.1317, allocations: 114.3 kB / 383.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1317, allocations: 8 kB / 383.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1319, allocations: 326.8 kB / 383.8 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/0.1326, allocations: 111.9 kB / 383.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.1333, allocations: 164.4 kB / 384.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.134, allocations: 125.6 kB / 384.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.134, allocations: 0 / 384.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003914/0.1379, allocations: 0.5319 MB / 384.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.138, allocations: 4 kB / 384.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.1381, allocations: 7.938 kB / 384.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/0.1415, allocations: 249.5 kB / 385 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.1423, allocations: 55.84 kB / 385 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.1527, allocations: 3.795 MB / 388.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.1534, allocations: 12 kB / 388.8 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.1534, allocations: 15.98 kB / 388.9 MB, free: 464 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0003456/0.1538, allocations: 153.8 kB / 389 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1539, allocations: 23.72 kB / 389 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1541, allocations: 39.52 kB / 389.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1542, allocations: 4 kB / 389.1 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.1542, allocations: 4 kB / 389.1 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.1542, allocations: 3.953 kB / 389.1 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3598/0.514, allocations: 370.8 kB / 389.5 MB, free: 20.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5141, allocations: 4.516 kB / 389.5 MB, free: 20.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.5146, allocations: 40.72 kB / 389.5 MB, free: 20.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.5171, allocations: 255.4 kB / 389.7 MB, free: 20.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.5172, allocations: 6.438 kB / 389.8 MB, free: 20.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006245/0.5234, allocations: 3.683 MB / 393.4 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5235, allocations: 5.062 kB / 393.4 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.5265, allocations: 0.726 MB / 394.2 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.5267, allocations: 105.6 kB / 394.3 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.5267, allocations: 7.25 kB / 394.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.5271, allocations: 12.78 kB / 394.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5273, allocations: 28.81 kB / 394.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.5273, allocations: 6.969 kB / 394.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.5276, allocations: 165.3 kB / 394.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5276, allocations: 0 / 394.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00078/0.5284, allocations: 103.4 kB / 394.6 MB, free: 17.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001364/0.5285, allocations: 102.4 kB / 394.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.53, allocations: 0.5642 MB / 395.2 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.53, allocations: 0 / 395.2 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.5309, allocations: 431.3 kB / 395.7 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.5312, allocations: 19.95 kB / 395.7 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.533, allocations: 0.8443 MB / 396.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5333, allocations: 0.7897 MB / 397.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5335, allocations: 20 kB / 397.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5335, allocations: 4 kB / 397.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Templates: time 0.1723/0.7058, allocations: 5.686 MB / 403 MB, free: 14.07 MB / 282.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