Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.001558/0.001558, allocations: 105 kB / 20.44 MB, free: 1.504 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.001661/0.001661, allocations: 215 kB / 23.76 MB, free: 4.727 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.302/1.302, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.1947/0.1947, allocations: 44.24 MB / 331 MB, free: 9.531 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [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.002061/0.002061, allocations: 71.89 kB / 468.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.0988, allocations: 61.05 MB / 0.5174 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004863/0.1037, allocations: 3.451 MB / 0.5207 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1052, allocations: 0.846 MB / 0.5216 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1054, allocations: 8 kB / 0.5216 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.1056, allocations: 75.22 kB / 0.5216 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1059, allocations: 130.8 kB / 0.5218 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1063, allocations: 131.8 kB / 0.5219 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.1069, allocations: 0.5141 MB / 0.5224 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1072, allocations: 190.3 kB / 0.5226 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1075, allocations: 215.2 kB / 0.5228 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.1079, allocations: 235 kB / 0.523 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.1079, allocations: 48 kB / 0.523 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.108, allocations: 48 kB / 0.5231 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1081, allocations: 115.6 kB / 0.5232 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1084, allocations: 254.8 kB / 0.5234 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.109, allocations: 0.5563 MB / 0.524 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.109, allocations: 0 / 0.524 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.109, allocations: 0 / 0.524 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.109, allocations: 0 / 0.524 GB, free: 32 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001338/0.1103, allocations: 0.6961 MB / 0.5247 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1103, allocations: 12.03 kB / 0.5247 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1104, allocations: 52.66 kB / 0.5247 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1109, allocations: 251.8 kB / 0.525 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1109, allocations: 41.38 kB / 0.525 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.111, allocations: 48.31 kB / 0.5251 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.1118, allocations: 467.5 kB / 0.5255 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1118, allocations: 0 / 0.5255 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1119, allocations: 23.98 kB / 0.5255 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1119, allocations: 15.94 kB / 0.5255 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.1126, allocations: 324.2 kB / 0.5258 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.115, allocations: 1.615 MB / 0.5274 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.1156, allocations: 225 kB / 0.5276 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.1159, allocations: 125.7 kB / 0.5278 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1159, allocations: 8 kB / 0.5278 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1159, allocations: 34.56 kB / 0.5278 GB, free: 11.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.1159, allocations: 224 / 0.5278 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002771/0.1187, allocations: 1.124 MB / 0.5289 GB, free: 10.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.1188, allocations: 89.09 kB / 0.529 GB, free: 10.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.119, allocations: 261.8 kB / 0.5292 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1191, allocations: 29.7 kB / 0.5293 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1192, allocations: 260.1 kB / 0.5295 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1193, allocations: 130.9 kB / 0.5296 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1195, allocations: 78.09 kB / 0.5297 GB, free: 9.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1196, allocations: 342.8 kB / 0.53 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.1199, allocations: 108.8 kB / 0.5301 GB, free: 9.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1202, allocations: 216.2 kB / 0.5303 GB, free: 9.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.1208, allocations: 347.1 kB / 0.5307 GB, free: 8.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1208, allocations: 0 / 0.5307 GB, free: 8.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008338/0.1217, allocations: 421.8 kB / 0.5311 GB, free: 8.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1217, allocations: 8.375 kB / 0.5311 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1217, allocations: 8 kB / 0.5311 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.1218, allocations: 28.84 kB / 0.5311 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.1223, allocations: 127.7 kB / 0.5312 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.1234, allocations: 1.338 MB / 0.5326 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1237, allocations: 12 kB / 0.5326 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1237, allocations: 20 kB / 0.5326 GB, free: 6.672 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1239, allocations: 166 kB / 0.5327 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.124, allocations: 31.81 kB / 0.5328 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.124, allocations: 42.11 kB / 0.5328 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.124, allocations: 7.938 kB / 0.5328 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.124, allocations: 0 / 0.5328 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.124, allocations: 0 / 0.5328 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1252, allocations: 0.691 MB / 0.5335 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1252, allocations: 0 / 0.5335 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.1256, allocations: 91.88 kB / 0.5336 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.1256, allocations: 24.84 kB / 0.5336 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.1257, allocations: 12 kB / 0.5336 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.1267, allocations: 1.331 MB / 0.5349 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1267, allocations: 3.984 kB / 0.5349 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.1277, allocations: 0.605 MB / 0.5355 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1278, allocations: 47.83 kB / 0.5356 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.1279, allocations: 8 kB / 0.5356 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1281, allocations: 15.98 kB / 0.5356 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.1282, allocations: 27.89 kB / 0.5356 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1282, allocations: 16 kB / 0.5356 GB, free: 3.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1284, allocations: 185.2 kB / 0.5358 GB, free: 3.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1284, allocations: 0 / 0.5358 GB, free: 3.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.1288, allocations: 92 kB / 0.5359 GB, free: 3.078 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1289, allocations: 111.1 kB / 0.536 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008123/0.1298, allocations: 390.4 kB / 0.5364 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1298, allocations: 0 / 0.5364 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.1301, allocations: 250.4 kB / 0.5366 GB, free: 2.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.1306, allocations: 51.84 kB / 0.5367 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1321, allocations: 0.9351 MB / 0.5376 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1326, allocations: 0.8152 MB / 0.5384 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.1327, allocations: 27.44 kB / 0.5384 GB, free: 428 kB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1327, allocations: 0 / 0.5384 GB, free: 428 kB / 414.1 MB Notification: Performance of Templates: time 0.1699/0.3026, allocations: 5.982 MB / 0.5442 GB, free: 26.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.17003897880204]