Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.00126/0.00126, 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.001457/0.001457, allocations: 213.2 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 7.961 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.2305/0.2305, allocations: 46.92 MB / 360.8 MB, free: 4.234 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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.88 kB / 0.4963 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3255, allocations: 66.09 MB / 0.5608 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004457/0.3299, allocations: 2.298 MB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.3324, allocations: 1.338 MB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3325, allocations: 7.938 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.3329, allocations: 139.3 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.3335, allocations: 234.9 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.334, allocations: 195.5 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006581/0.3346, allocations: 466.6 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3348, allocations: 47.06 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.3352, allocations: 323 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3355, allocations: 163.1 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.3355, allocations: 16 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3357, allocations: 79.95 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3358, allocations: 131.5 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.336, allocations: 186.5 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3365, allocations: 445.6 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3366, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3366, allocations: 0 / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3366, allocations: 0 / 0.5667 GB, free: 14.19 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001175/0.3377, allocations: 0.7644 MB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.3378, allocations: 8.031 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.3379, allocations: 54.67 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.338, allocations: 64.5 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.3386, allocations: 349.9 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3386, allocations: 12.38 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3386, allocations: 20.27 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.339, allocations: 209.1 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.339, allocations: 0 / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3391, allocations: 8 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3391, allocations: 4 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.3393, allocations: 91.86 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3404, allocations: 0.7617 MB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.341, allocations: 238.5 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3412, allocations: 79.52 kB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.3413, allocations: 20.06 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.3417, allocations: 196.2 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.3417, allocations: 4 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002454/0.3441, allocations: 1.133 MB / 0.5706 GB, free: 9.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.3442, allocations: 136.5 kB / 0.5707 GB, free: 9.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.3451, allocations: 0.8008 MB / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.3452, allocations: 37.7 kB / 0.5715 GB, free: 8.965 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.3454, allocations: 237 kB / 0.5718 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.3456, allocations: 142.8 kB / 0.5719 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3457, allocations: 86.08 kB / 0.572 GB, free: 8.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3459, allocations: 374.7 kB / 0.5723 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.3461, allocations: 112.8 kB / 0.5724 GB, free: 8.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.3464, allocations: 191.1 kB / 0.5726 GB, free: 7.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.3469, allocations: 319 kB / 0.5729 GB, free: 7.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3469, allocations: 4 kB / 0.5729 GB, free: 7.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007313/0.3477, allocations: 436.9 kB / 0.5734 GB, free: 7.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3477, allocations: 4 kB / 0.5734 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3477, allocations: 4 kB / 0.5734 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3477, allocations: 8.125 kB / 0.5734 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.348, allocations: 91.83 kB / 0.5735 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.348, allocations: 4.234 kB / 0.5735 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3482, allocations: 16 kB / 0.5735 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3482, allocations: 19.92 kB / 0.5735 GB, free: 6.887 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002709/0.3485, allocations: 249.3 kB / 0.5737 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.3486, allocations: 67.53 kB / 0.5738 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009358/0.3495, allocations: 0.491 MB / 0.5743 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3495, allocations: 7.938 kB / 0.5743 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3495, allocations: 8 kB / 0.5743 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3495, allocations: 3.984 kB / 0.5743 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.3512, allocations: 1.286 MB / 0.5755 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3512, allocations: 4 kB / 0.5756 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3514, allocations: 55.92 kB / 0.5756 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3514, allocations: 8.25 kB / 0.5756 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.3514, allocations: 19.98 kB / 0.5756 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3514, allocations: 4 kB / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.3514, allocations: 7.938 kB / 0.5756 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.3523, allocations: 0.7942 MB / 0.5764 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.3525, allocations: 99.45 kB / 0.5765 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.3526, allocations: 19.98 kB / 0.5765 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.3528, allocations: 16 kB / 0.5765 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.3529, allocations: 39.88 kB / 0.5766 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.353, allocations: 23.98 kB / 0.5766 GB, free: 3.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006428/0.3536, allocations: 0.5811 MB / 0.5772 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 3.938 kB / 0.5772 GB, free: 2.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.3541, allocations: 91.92 kB / 0.5773 GB, free: 2.879 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003156/0.3573, allocations: 1.749 MB / 0.579 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006197/0.3579, allocations: 299.5 kB / 0.5793 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3579, allocations: 4 kB / 0.5793 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.3582, allocations: 140.5 kB / 0.5794 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.3591, allocations: 138.1 kB / 0.5795 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.3651, allocations: 4.74 MB / 0.5842 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.3656, allocations: 0.886 MB / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.3659, allocations: 79.3 kB / 0.5851 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3661, allocations: 191.4 kB / 0.5853 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3661, allocations: 3.938 kB / 0.5853 GB, free: 10.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4061, allocations: 11.22 MB / 0.5962 GB, free: 15.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 7.578 kB / 0.5962 GB, free: 15.41 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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: 15.363636577036232]