Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001267/0.001267, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.0014/0.0014, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2241/0.2241, allocations: 46.94 MB / 361.6 MB, free: 4.156 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 79.88 kB / 0.497 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2958, allocations: 66.08 MB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003114/0.2989, allocations: 1.737 MB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3006, allocations: 1.053 MB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.3007, allocations: 3.938 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.3009, allocations: 31.78 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.3012, allocations: 95.55 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3014, allocations: 83.66 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3016, allocations: 107.8 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.3017, allocations: 5.969 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3018, allocations: 59.59 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.3019, allocations: 31.84 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3019, allocations: 4 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.302, allocations: 39.98 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.302, allocations: 19.91 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.3021, allocations: 31.75 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3023, allocations: 119.5 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3023, allocations: 3.938 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3023, allocations: 4 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3023, allocations: 0 / 0.5649 GB, free: 0.8008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004883/0.3028, allocations: 333.6 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3028, allocations: 12.03 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.22e-05/0.3028, allocations: 4.188 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.3028, allocations: 30.75 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3029, allocations: 8.891 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.3031, allocations: 150.3 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3031, allocations: 4.375 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3032, allocations: 8.359 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3033, allocations: 61.55 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3033, allocations: 3.984 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3033, allocations: 0 / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3033, allocations: 4 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.3034, allocations: 15.98 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.3038, allocations: 251.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3039, allocations: 66.61 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.304, allocations: 20.84 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.304, allocations: 3.938 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3042, allocations: 63.39 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3042, allocations: 4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005108/0.3047, allocations: 173.4 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3047, allocations: 59.41 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3049, allocations: 167.5 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3049, allocations: 33.7 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.305, allocations: 96.12 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.305, allocations: 27.78 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.305, allocations: 25.7 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3052, allocations: 330.8 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.3052, allocations: 20 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.3053, allocations: 41.58 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3054, allocations: 57.7 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3054, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.3056, allocations: 105.5 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3056, allocations: 11.98 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3056, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3057, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.3057, allocations: 12 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3058, allocations: 4 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.3058, allocations: 3.984 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3058, allocations: 7.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001014/0.3059, allocations: 125.8 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3059, allocations: 11.98 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3062, allocations: 114.3 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3062, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3062, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3062, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3066, allocations: 366.6 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3066, allocations: 0 / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.3067, allocations: 11.98 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3067, allocations: 4.031 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3067, allocations: 7.938 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3067, allocations: 4 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3067, allocations: 7.875 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3069, allocations: 196.3 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.3069, allocations: 11.91 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.307, allocations: 7.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.307, allocations: 12.36 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3071, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3071, allocations: 11.98 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3072, allocations: 127.2 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3072, allocations: 4 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3074, allocations: 23.94 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.002124/0.3096, allocations: 1.084 MB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3098, allocations: 63.91 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3098, allocations: 0 / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.3098, allocations: 27.92 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3102, allocations: 31.97 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3119, allocations: 1.598 MB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3123, allocations: 0.704 MB / 0.5715 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.3123, allocations: 16.91 kB / 0.5715 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.3124, allocations: 35.42 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3124, allocations: 0 / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.3333, allocations: 3.533 MB / 0.575 GB, free: 6.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.86, allocations: 3.938 kB / 0.575 GB, free: 6.27 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.761170516023412]