Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001296/0.001296, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001533/0.001533, allocations: 208 kB / 23.73 MB, free: 4.391 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2228/0.2228, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 83.88 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3049, allocations: 66.09 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003271/0.3082, allocations: 1.698 MB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.31, allocations: 0.9709 MB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.31, allocations: 4 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3103, allocations: 35.77 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3106, allocations: 103.6 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3107, allocations: 83.66 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3109, allocations: 107.6 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.311, allocations: 5.828 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.3111, allocations: 43.78 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.3112, allocations: 35.78 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3112, allocations: 4 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.3113, allocations: 39.98 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.3113, allocations: 27.91 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.3114, allocations: 23.81 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3116, allocations: 127.4 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3116, allocations: 0 / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3116, allocations: 0 / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3116, allocations: 0 / 0.564 GB, free: 0.6836 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.0005261/0.3121, allocations: 349.5 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3121, allocations: 8.031 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.3122, allocations: 38.73 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3122, allocations: 12.83 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3125, allocations: 155 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3125, allocations: 384 / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3125, allocations: 8.375 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3127, allocations: 61.94 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3127, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3127, allocations: 3.984 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3127, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.3128, allocations: 23.98 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3131, allocations: 255.9 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3133, allocations: 58.61 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.3134, allocations: 24.84 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3134, allocations: 4 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3135, allocations: 63.39 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3135, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005341/0.3141, allocations: 185.3 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3141, allocations: 55.41 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3143, allocations: 206.3 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3143, allocations: 29.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.3144, allocations: 100.1 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3144, allocations: 31.77 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3145, allocations: 25.72 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3146, allocations: 330.8 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.3147, allocations: 23.98 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.3148, allocations: 41.64 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3149, allocations: 53.7 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3149, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.3151, allocations: 113.6 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3151, allocations: 8 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3151, allocations: 4.031 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3151, allocations: 0 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.3152, allocations: 15.98 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3152, allocations: 7.938 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.3152, allocations: 0 / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3153, allocations: 8 kB / 0.5662 GB, free: 14.21 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.0001012/0.3154, allocations: 127 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3154, allocations: 20.08 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3156, allocations: 122.9 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3156, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3156, allocations: 4 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3156, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.3161, allocations: 374.4 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3161, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.3162, allocations: 12 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3162, allocations: 0 / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3162, allocations: 3.984 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3162, allocations: 7.938 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3162, allocations: 0 / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3164, allocations: 220.3 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3165, allocations: 7.953 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3165, allocations: 0 / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.3165, allocations: 16.3 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.3166, allocations: 3.984 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3166, allocations: 4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.3167, allocations: 152.2 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3167, allocations: 0 / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.317, allocations: 23.94 kB / 0.5672 GB, free: 13.04 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 (9): * Single equations (assignments): 7 * 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.002195/0.3192, allocations: 1.128 MB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3194, allocations: 63.91 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3194, allocations: 0 / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.3194, allocations: 28.05 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3198, allocations: 55 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3216, allocations: 1.672 MB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.3216, allocations: 92.17 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.3217, allocations: 16.97 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.3218, allocations: 39.42 kB / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3218, allocations: 0 / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3504, allocations: 4.13 MB / 0.5743 GB, free: 5.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.95, allocations: 4 kB / 0.5743 GB, free: 5.887 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.82637110631913]