Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.95 MB / 360.8 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 79.88 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3068, allocations: 66.09 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003419/0.3102, allocations: 1.894 MB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.312, allocations: 1.002 MB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3121, allocations: 7.938 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.3125, allocations: 47.69 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.3128, allocations: 103.5 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.313, allocations: 99.69 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.3133, allocations: 147.5 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3134, allocations: 23.52 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.3135, allocations: 59.7 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3136, allocations: 47.7 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3136, allocations: 4 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3137, allocations: 51.98 kB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.3138, allocations: 31.84 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.3139, allocations: 43.73 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3141, allocations: 155.3 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3141, allocations: 0 / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3141, allocations: 0 / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3142, allocations: 0 / 0.5644 GB, free: 292 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007059/0.3149, allocations: 419 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3149, allocations: 12.03 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3149, allocations: 34.75 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.315, allocations: 20.78 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3153, allocations: 179 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3153, allocations: 384 / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3153, allocations: 12.36 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3156, allocations: 138 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3156, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3157, allocations: 11.98 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3157, allocations: 0 / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3158, allocations: 47.91 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.3165, allocations: 480.1 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.3168, allocations: 86.59 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3169, allocations: 36.84 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.317, allocations: 0 / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3172, allocations: 109.1 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3172, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004293/0.3176, allocations: 153.5 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3177, allocations: 51.41 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3179, allocations: 215 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3179, allocations: 25.7 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.318, allocations: 120.1 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.318, allocations: 27.75 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.3181, allocations: 29.7 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3182, allocations: 330.8 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.3183, allocations: 31.97 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3185, allocations: 60.28 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3187, allocations: 104.5 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3187, allocations: 0 / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002927/0.319, allocations: 141.4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.319, allocations: 10.47 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.319, allocations: 0 / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.319, allocations: 4 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3191, allocations: 23.92 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3191, allocations: 7.938 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.3192, allocations: 19.88 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3192, allocations: 7.938 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002231/0.3194, allocations: 129.8 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3194, allocations: 11.91 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3198, allocations: 143 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3198, allocations: 0 / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3198, allocations: 3.938 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3198, allocations: 0 / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.32, allocations: 172.7 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.32, allocations: 0 / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.3201, allocations: 15.98 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3201, allocations: 0 / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3201, allocations: 0 / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3201, allocations: 4 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3201, allocations: 7.938 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3205, allocations: 197 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.3205, allocations: 15.88 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3205, allocations: 4 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3206, allocations: 7.984 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3207, allocations: 11.92 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3207, allocations: 8 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3208, allocations: 147.2 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3208, allocations: 0 / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3211, allocations: 28.06 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002153/0.3232, allocations: 1.059 MB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3235, allocations: 79.89 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3235, allocations: 0 / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3236, allocations: 44.34 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.3239, allocations: 54.38 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3261, allocations: 1.761 MB / 0.571 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3262, allocations: 109.8 kB / 0.5711 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.3263, allocations: 13.42 kB / 0.5711 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.3264, allocations: 43.42 kB / 0.5711 GB, free: 9.008 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3264, allocations: 4 kB / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.36, allocations: 4.542 MB / 0.5756 GB, free: 4.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.12, allocations: 8.047 kB / 0.5756 GB, free: 4.484 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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: 13.961587151046842]