Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 75.86 kB / 491.8 MB, free: 30.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 64.26 MB / 0.543 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003088/0.1321, allocations: 1.575 MB / 0.5446 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1336, allocations: 1.032 MB / 0.5456 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.1337, allocations: 4 kB / 0.5456 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1339, allocations: 27.77 kB / 0.5456 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1341, allocations: 43.78 kB / 0.5456 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1344, allocations: 103.7 kB / 0.5457 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1345, allocations: 55.89 kB / 0.5458 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1346, allocations: 11.94 kB / 0.5458 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.1347, allocations: 31.78 kB / 0.5458 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1348, allocations: 19.92 kB / 0.5459 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1348, allocations: 8 kB / 0.5459 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1349, allocations: 51.97 kB / 0.5459 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.135, allocations: 15.92 kB / 0.5459 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.135, allocations: 15.88 kB / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1352, allocations: 87.7 kB / 0.546 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1352, allocations: 0 / 0.546 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1352, allocations: 0 / 0.546 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1352, allocations: 3.938 kB / 0.546 GB, free: 1.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005323/0.1358, allocations: 383 kB / 0.5464 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1358, allocations: 16.03 kB / 0.5464 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.1358, allocations: 34.75 kB / 0.5464 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1359, allocations: 8.891 kB / 0.5464 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1361, allocations: 180.3 kB / 0.5466 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1361, allocations: 4.375 kB / 0.5466 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1361, allocations: 384 / 0.5466 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1363, allocations: 71.27 kB / 0.5467 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1363, allocations: 7.953 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1363, allocations: 4 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1363, allocations: 0 / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.1364, allocations: 19.98 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1368, allocations: 280.9 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.137, allocations: 42.5 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.137, allocations: 20.86 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.137, allocations: 4.078 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1371, allocations: 30.56 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1371, allocations: 0 / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005196/0.1376, allocations: 145.4 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1377, allocations: 77.11 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1378, allocations: 148.9 kB / 0.5474 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1378, allocations: 25.7 kB / 0.5475 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1379, allocations: 92.12 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1379, allocations: 15.89 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1379, allocations: 17.72 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1381, allocations: 322.8 kB / 0.5479 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.1382, allocations: 24.05 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.1382, allocations: 49.56 kB / 0.548 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1384, allocations: 52.83 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1384, allocations: 3.938 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.1385, allocations: 77.91 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1386, allocations: 8 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1386, allocations: 0 / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1386, allocations: 4.031 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.1386, allocations: 15.98 kB / 0.5481 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1386, allocations: 0 / 0.5481 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1387, allocations: 11.97 kB / 0.5481 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1387, allocations: 7.938 kB / 0.5481 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 9.763e-05/0.1388, allocations: 117.8 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1388, allocations: 3.953 kB / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1391, allocations: 101.6 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1391, allocations: 3.984 kB / 0.5484 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1391, allocations: 0 / 0.5484 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1391, allocations: 0 / 0.5484 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1395, allocations: 354.8 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1395, allocations: 0 / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1396, allocations: 12 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1396, allocations: 4 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1396, allocations: 7.984 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1396, allocations: 3.938 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1396, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1398, allocations: 179.5 kB / 0.5489 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.1399, allocations: 85.05 kB / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1399, allocations: 0 / 0.549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1399, allocations: 11.94 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.14, allocations: 7.984 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.14, allocations: 0 / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.048e-05/0.1401, allocations: 107.3 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1401, allocations: 3.938 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1403, allocations: 20 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001959/0.1423, allocations: 1.065 MB / 0.5502 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1425, allocations: 55.89 kB / 0.5502 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1425, allocations: 0 / 0.5502 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.1425, allocations: 23.98 kB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1429, allocations: 19.92 kB / 0.5502 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1445, allocations: 1.401 MB / 0.5516 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1449, allocations: 0.7 MB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.145, allocations: 19.98 kB / 0.5523 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.145, allocations: 23.42 kB / 0.5523 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.145, allocations: 0 / 0.5523 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.1711, allocations: 2.794 MB / 0.5551 GB, free: 7.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.12, allocations: 5.734 kB / 0.5551 GB, free: 7.551 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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: 11.16772708715871]