Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001789/0.001789, allocations: 110 kB / 20.43 MB, free: 1.453 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.002407/0.002407, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8 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.2539/0.2539, allocations: 46.91 MB / 360.8 MB, free: 4.172 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 75.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.381, allocations: 66.08 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003671/0.3847, allocations: 1.834 MB / 0.5626 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.3879, allocations: 1.808 MB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.388, allocations: 0 / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.3883, allocations: 55.64 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.3887, allocations: 143.4 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.389, allocations: 103.7 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.3893, allocations: 207.3 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.3893, allocations: 9.812 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3895, allocations: 91.62 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3898, allocations: 87.55 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3898, allocations: 8 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.39, allocations: 119.9 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.3901, allocations: 35.84 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.3902, allocations: 63.59 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.3906, allocations: 228.9 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3906, allocations: 4 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3906, allocations: 0 / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3906, allocations: 0 / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007546/0.3913, allocations: 428.9 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3914, allocations: 8.031 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.3914, allocations: 38.73 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.3915, allocations: 16.84 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.3919, allocations: 198.1 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3919, allocations: 8.359 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3919, allocations: 8.375 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.3921, allocations: 101.2 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3921, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3921, allocations: 7.922 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3921, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3923, allocations: 35.92 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.3925, allocations: 193.6 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3928, allocations: 105.2 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.3929, allocations: 33.7 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3929, allocations: 7.984 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3932, allocations: 116.9 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3932, allocations: 0 / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004595/0.3936, allocations: 165.5 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3937, allocations: 136.5 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3941, allocations: 234.3 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3941, allocations: 33.7 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.3942, allocations: 112.1 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.3943, allocations: 35.73 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3943, allocations: 29.7 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3945, allocations: 330.8 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.3946, allocations: 27.98 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3947, allocations: 76 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3949, allocations: 91.39 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3949, allocations: 0 / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002781/0.3952, allocations: 134 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3952, allocations: 11.98 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3952, allocations: 0 / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3952, allocations: 0 / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3953, allocations: 28 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3953, allocations: 3.984 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.3954, allocations: 16.02 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3954, allocations: 4 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001368/0.3956, allocations: 139.1 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.3956, allocations: 19.84 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.3959, allocations: 142.7 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.396, allocations: 7.938 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.396, allocations: 0 / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.396, allocations: 0 / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3962, allocations: 208.5 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3962, allocations: 7.875 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3962, allocations: 8 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3962, allocations: 7.984 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3962, allocations: 0 / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3962, allocations: 4 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3963, allocations: 0 / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.3966, allocations: 169.8 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.3966, allocations: 23.78 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3966, allocations: 4 kB / 0.5688 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3967, allocations: 7.984 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3968, allocations: 11.98 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3968, allocations: 4 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.397, allocations: 176.5 kB / 0.569 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.397, allocations: 0 / 0.569 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.3973, allocations: 55.86 kB / 0.5691 GB, free: 11.42 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00234/0.3996, allocations: 1.107 MB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3999, allocations: 79.83 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3999, allocations: 128 / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4, allocations: 39.98 kB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4003, allocations: 55.52 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4027, allocations: 1.883 MB / 0.5721 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.403, allocations: 0.7203 MB / 0.5729 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.4031, allocations: 42.11 kB / 0.5729 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4032, allocations: 55.41 kB / 0.5729 GB, free: 7.445 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4032, allocations: 0 / 0.5729 GB, free: 7.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.4444, allocations: 5.5 MB / 0.5783 GB, free: 1.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 16.77 kB / 0.5783 GB, free: 1.949 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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: 14.641643815906718]