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.00165/0.00165, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001777/0.001777, allocations: 211.7 kB / 23.74 MB, free: 4.449 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.658/1.658, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2273/0.2273, allocations: 44.26 MB / 331.1 MB, free: 9.324 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.002649/0.002649, allocations: 70.72 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1198, allocations: 61.04 MB / 0.5174 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004495/0.1243, allocations: 2.451 MB / 0.5197 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1259, allocations: 0.7525 MB / 0.5205 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.1262, allocations: 11.94 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1265, allocations: 63.44 kB / 0.5206 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.1269, allocations: 103.2 kB / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1272, allocations: 119.8 kB / 0.5208 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1279, allocations: 418.5 kB / 0.5212 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1281, allocations: 99.78 kB / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1284, allocations: 159.4 kB / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1286, allocations: 143.2 kB / 0.5216 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.1287, allocations: 36 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.1287, allocations: 39.94 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.1288, allocations: 71.75 kB / 0.5217 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.129, allocations: 151.2 kB / 0.5218 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.1294, allocations: 426.2 kB / 0.5222 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1294, allocations: 0 / 0.5222 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1294, allocations: 0 / 0.5222 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1295, allocations: 0 / 0.5222 GB, free: 1.664 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.001138/0.1306, allocations: 0.5911 MB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1306, allocations: 8.031 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1307, allocations: 44.66 kB / 0.5229 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1311, allocations: 230.7 kB / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.1312, allocations: 21.38 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1312, allocations: 32.38 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.1319, allocations: 362.2 kB / 0.5235 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1319, allocations: 0 / 0.5235 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1319, allocations: 16 kB / 0.5235 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1319, allocations: 8 kB / 0.5235 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006736/0.1326, allocations: 263.8 kB / 0.5238 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.1346, allocations: 1.172 MB / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.1351, allocations: 194.5 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1354, allocations: 79.52 kB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1354, allocations: 4 kB / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1354, allocations: 38.56 kB / 0.5252 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.1354, allocations: 0 / 0.5252 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007929/0.1362, allocations: 241.5 kB / 0.5254 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.1363, allocations: 140.5 kB / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1366, allocations: 280.1 kB / 0.5258 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1366, allocations: 29.7 kB / 0.5259 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1368, allocations: 247.9 kB / 0.5261 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.1369, allocations: 55.58 kB / 0.5262 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.137, allocations: 61.88 kB / 0.5262 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1372, allocations: 334.8 kB / 0.5265 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1374, allocations: 80.5 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.1377, allocations: 168.2 kB / 0.5268 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.1382, allocations: 251.3 kB / 0.527 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.1382, allocations: 8 kB / 0.527 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000707/0.1389, allocations: 293.4 kB / 0.5273 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.139, allocations: 12 kB / 0.5273 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.139, allocations: 3.938 kB / 0.5273 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.139, allocations: 4 kB / 0.5273 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.1394, allocations: 91.88 kB / 0.5274 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.1394, allocations: 11.92 kB / 0.5274 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.1397, allocations: 43.72 kB / 0.5275 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1397, allocations: 12 kB / 0.5275 GB, free: 11.95 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.0002007/0.1399, allocations: 157.7 kB / 0.5276 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.14, allocations: 23.86 kB / 0.5276 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.1401, allocations: 29.42 kB / 0.5277 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1401, allocations: 0 / 0.5277 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.1401, allocations: 7.984 kB / 0.5277 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1401, allocations: 0 / 0.5277 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.1409, allocations: 0.49 MB / 0.5282 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1409, allocations: 4.094 kB / 0.5282 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.1412, allocations: 59.89 kB / 0.5282 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.1412, allocations: 7.984 kB / 0.5282 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1412, allocations: 4 kB / 0.5282 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1412, allocations: 4 kB / 0.5282 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.1412, allocations: 7.922 kB / 0.5282 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.1418, allocations: 394.7 kB / 0.5286 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.1419, allocations: 23.84 kB / 0.5286 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.1419, allocations: 8 kB / 0.5286 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1421, allocations: 11.98 kB / 0.5287 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.1422, allocations: 23.91 kB / 0.5287 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1422, allocations: 4 kB / 0.5287 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1424, allocations: 195.1 kB / 0.5289 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1424, allocations: 0 / 0.5289 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.1428, allocations: 79.73 kB / 0.5289 GB, free: 10.34 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 0.0001054/0.1429, allocations: 107.2 kB / 0.5291 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.1435, allocations: 187.7 kB / 0.5292 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1435, allocations: 0.5 kB / 0.5292 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.1437, allocations: 87.81 kB / 0.5293 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1442, allocations: 16.98 kB / 0.5293 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1453, allocations: 0.5791 MB / 0.5299 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.1455, allocations: 168.5 kB / 0.5301 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.1455, allocations: 23.42 kB / 0.5301 GB, free: 9.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1455, allocations: 0 / 0.5301 GB, free: 9.09 MB / 414.1 MB Notification: Performance of Templates: time 0.005955/0.1515, allocations: 3.138 MB / 0.5331 GB, free: 5.949 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: 7.610954648815095]