Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002226/0.002233, allocations: 186.5 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.221/2.221, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001171/0.001171, allocations: 94.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003602/0.124, allocations: 2.086 MB / 492.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.126, allocations: 0.757 MB / 493.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.1262, allocations: 8 kB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1265, allocations: 43.62 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1268, allocations: 99.72 kB / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1272, allocations: 79.84 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1277, allocations: 271.5 kB / 493.6 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.128, allocations: 107.3 kB / 493.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.1283, allocations: 127.5 kB / 493.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1285, allocations: 143.3 kB / 493.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1286, allocations: 20 kB / 493.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.1287, allocations: 16 kB / 494 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.1288, allocations: 59.75 kB / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.876e-05/0.1289, allocations: 89.52 kB / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.1293, allocations: 311.3 kB / 494.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1293, allocations: 0 / 494.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1294, allocations: 0 / 494.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1294, allocations: 0 / 494.4 MB, free: 5.121 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001486/0.1309, allocations: 0.616 MB / 495 MB, free: 4.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1309, allocations: 12.03 kB / 495 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.131, allocations: 35.53 kB / 495.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.1315, allocations: 275.3 kB / 495.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1315, allocations: 21 kB / 495.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.1316, allocations: 39.94 kB / 495.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.1327, allocations: 362.7 kB / 495.8 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1327, allocations: 4 kB / 495.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.1328, allocations: 16 kB / 495.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1328, allocations: 8 kB / 495.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1339, allocations: 288.9 kB / 496.1 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.1372, allocations: 1.367 MB / 497.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.138, allocations: 202.6 kB / 497.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.1381, allocations: 7.938 kB / 497.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1381, allocations: 42.72 kB / 497.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 3.546e-06/0.1381, allocations: 3.938 kB / 497.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001328/0.1395, allocations: 277.4 kB / 498 MB, free: 1.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.1396, allocations: 132.5 kB / 498.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.1401, allocations: 328.4 kB / 498.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1402, allocations: 25.7 kB / 498.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1404, allocations: 290 kB / 498.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.1405, allocations: 51.28 kB / 498.8 MB, free: 472 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.1405, allocations: 8 kB / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1406, allocations: 326.8 kB / 499.1 MB, free: 128 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.1411, allocations: 88.5 kB / 499.2 MB, free: 40 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.1416, allocations: 184.1 kB / 499.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.1421, allocations: 108 kB / 499.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1421, allocations: 0 / 499.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001121/0.1432, allocations: 317.2 kB / 499.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.1433, allocations: 10.66 kB / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1433, allocations: 4 kB / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1433, allocations: 4 kB / 499.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.1441, allocations: 103.9 kB / 499.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.1442, allocations: 4 kB / 499.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1447, allocations: 51.67 kB / 499.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1447, allocations: 8 kB / 500 MB, free: 15.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.145, allocations: 161.6 kB / 0.4884 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1451, allocations: 31.62 kB / 0.4884 GB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1452, allocations: 38.41 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1452, allocations: 3.938 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.1452, allocations: 4.562 kB / 0.4885 GB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1453, allocations: 0 / 0.4885 GB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1465, allocations: 0.5837 MB / 0.489 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.1465, allocations: 8 kB / 0.489 GB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.1471, allocations: 67.88 kB / 0.4891 GB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.1471, allocations: 8.156 kB / 0.4891 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1471, allocations: 8 kB / 0.4891 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1471, allocations: 0 / 0.4891 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.1471, allocations: 7.938 kB / 0.4891 GB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1482, allocations: 484.8 kB / 0.4896 GB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1483, allocations: 108.7 kB / 0.4897 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.1484, allocations: 4 kB / 0.4897 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.1488, allocations: 23.98 kB / 0.4897 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.1489, allocations: 23.88 kB / 0.4897 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1489, allocations: 4 kB / 0.4897 GB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003686/0.1493, allocations: 227 kB / 0.49 GB, free: 13.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1493, allocations: 4 kB / 0.49 GB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.1499, allocations: 71.72 kB / 0.49 GB, free: 13.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.1501, allocations: 99.25 kB / 0.4901 GB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009562/0.151, allocations: 212.1 kB / 0.4903 GB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.151, allocations: 0 / 0.4903 GB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.1515, allocations: 92.52 kB / 0.4904 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.1519, allocations: 25.08 kB / 0.4904 GB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1534, allocations: 0.6912 MB / 0.4911 GB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1539, allocations: 0.7791 MB / 0.4919 GB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.1541, allocations: 23.44 kB / 0.4919 GB, free: 11.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1541, allocations: 0 / 0.4919 GB, free: 11.21 MB / 346.7 MB Notification: Performance of Templates: time 0.008233/0.1623, allocations: 3.026 MB / 0.4949 GB, free: 8.176 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches