Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 211.7 kB / 23.75 MB, free: 4.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.89 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.11, allocations: 61.05 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003948/0.1139, allocations: 2.656 MB / 0.5199 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1153, allocations: 0.8031 MB / 0.5207 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1155, allocations: 4 kB / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1157, allocations: 67.31 kB / 0.5208 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1159, allocations: 107.2 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1162, allocations: 103.9 kB / 0.521 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.1167, allocations: 418.5 kB / 0.5214 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1169, allocations: 103.8 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1172, allocations: 163.4 kB / 0.5217 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1175, allocations: 167.2 kB / 0.5218 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.1175, allocations: 35.94 kB / 0.5219 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.1176, allocations: 36 kB / 0.5219 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1177, allocations: 71.75 kB / 0.522 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1178, allocations: 187 kB / 0.5221 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1183, allocations: 422.2 kB / 0.5225 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1183, allocations: 0 / 0.5225 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1183, allocations: 4 kB / 0.5225 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1183, allocations: 0 / 0.5225 GB, free: 1.504 MB / 398.1 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.001129/0.1194, allocations: 0.5911 MB / 0.5231 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1195, allocations: 8.031 kB / 0.5231 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.1196, allocations: 44.66 kB / 0.5232 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.12, allocations: 222.8 kB / 0.5234 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.12, allocations: 21.38 kB / 0.5234 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.12, allocations: 36.38 kB / 0.5234 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.1207, allocations: 366.2 kB / 0.5238 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1207, allocations: 0 / 0.5238 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.1207, allocations: 12 kB / 0.5238 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1208, allocations: 12 kB / 0.5238 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.1214, allocations: 255.8 kB / 0.524 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1235, allocations: 1.312 MB / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.124, allocations: 186.6 kB / 0.5255 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1242, allocations: 83.56 kB / 0.5256 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1242, allocations: 0 / 0.5256 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.1243, allocations: 46.48 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.1243, allocations: 0 / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007527/0.125, allocations: 245.2 kB / 0.5259 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.1251, allocations: 132.5 kB / 0.526 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.1255, allocations: 328.4 kB / 0.5263 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1255, allocations: 33.83 kB / 0.5263 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1257, allocations: 236.2 kB / 0.5266 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.1257, allocations: 59.5 kB / 0.5266 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.1258, allocations: 61.88 kB / 0.5267 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.126, allocations: 342.8 kB / 0.527 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1262, allocations: 80.5 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.1265, allocations: 164.2 kB / 0.5272 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.127, allocations: 255.4 kB / 0.5275 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.127, allocations: 4 kB / 0.5275 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006522/0.1277, allocations: 309.3 kB / 0.5278 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1277, allocations: 8 kB / 0.5278 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1277, allocations: 4 kB / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1277, allocations: 4 kB / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.1281, allocations: 91.86 kB / 0.5279 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1281, allocations: 4 kB / 0.5279 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1284, allocations: 51.86 kB / 0.5279 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.1284, allocations: 16 kB / 0.528 GB, free: 11.58 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.1285, allocations: 149.7 kB / 0.5281 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.1286, allocations: 31.81 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.1287, allocations: 34.44 kB / 0.5282 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.1287, allocations: 4 kB / 0.5282 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1287, allocations: 0 / 0.5282 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1287, allocations: 0 / 0.5282 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/0.1295, allocations: 0.5672 MB / 0.5287 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1295, allocations: 0 / 0.5287 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1298, allocations: 55.94 kB / 0.5288 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1298, allocations: 8.156 kB / 0.5288 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1298, allocations: 7.938 kB / 0.5288 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1298, allocations: 4 kB / 0.5288 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.1298, allocations: 7.922 kB / 0.5288 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.1304, allocations: 390.8 kB / 0.5292 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1305, allocations: 31.73 kB / 0.5292 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1305, allocations: 11.94 kB / 0.5292 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1307, allocations: 11.98 kB / 0.5292 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.1308, allocations: 23.91 kB / 0.5292 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1308, allocations: 8 kB / 0.5293 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.131, allocations: 227.1 kB / 0.5295 GB, free: 9.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 3.938 kB / 0.5295 GB, free: 9.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.1314, allocations: 67.89 kB / 0.5295 GB, free: 9.84 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.537e-05/0.1315, allocations: 91.25 kB / 0.5296 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.1321, allocations: 203.7 kB / 0.5298 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1321, allocations: 0 / 0.5298 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.1323, allocations: 80.7 kB / 0.5299 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1327, allocations: 25.38 kB / 0.5299 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1337, allocations: 0.5904 MB / 0.5305 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1341, allocations: 0.7791 MB / 0.5313 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1342, allocations: 19.44 kB / 0.5313 GB, free: 7.977 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1342, allocations: 0 / 0.5313 GB, free: 7.977 MB / 414.1 MB Notification: Performance of Templates: time 0.005529/0.1397, allocations: 3.162 MB / 0.5344 GB, free: 4.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.5253602070733905]