Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001622/0.001622, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001968/0.001968, allocations: 214.2 kB / 23.73 MB, free: 4.164 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.773 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.218/0.218, allocations: 46.96 MB / 360.8 MB, free: 3.922 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 83.88 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3216, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003334/0.325, allocations: 1.718 MB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3267, allocations: 0.9788 MB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.3268, allocations: 3.938 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3271, allocations: 107.6 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.3274, allocations: 131.5 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3276, allocations: 79.67 kB / 0.5637 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3278, allocations: 127.6 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.3279, allocations: 13.81 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.328, allocations: 59.75 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3281, allocations: 71.73 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3281, allocations: 4 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3283, allocations: 59.98 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.3283, allocations: 31.84 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.3284, allocations: 39.73 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3286, allocations: 147.3 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3286, allocations: 3.984 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3286, allocations: 4 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3286, allocations: 0 / 0.5642 GB, free: 428 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006481/0.3293, allocations: 373.3 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.3293, allocations: 12.03 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.3294, allocations: 30.75 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.3294, allocations: 20.83 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.3297, allocations: 162.4 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3298, allocations: 4.375 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3298, allocations: 8.328 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.33, allocations: 69.73 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.33, allocations: 0 / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.33, allocations: 3.984 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.33, allocations: 11.92 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.3301, allocations: 19.98 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3306, allocations: 275.8 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.3308, allocations: 66.48 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.3309, allocations: 24.97 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3309, allocations: 0 / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.3311, allocations: 67.39 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3311, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008166/0.3319, allocations: 253.3 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3319, allocations: 55.34 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3322, allocations: 258.7 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3322, allocations: 25.7 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.3323, allocations: 120.1 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.3324, allocations: 35.69 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.3324, allocations: 33.66 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3326, allocations: 330.8 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.3327, allocations: 27.98 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3328, allocations: 52.95 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3329, allocations: 89.69 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3329, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002368/0.3332, allocations: 129.5 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3332, allocations: 8 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3332, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3332, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3333, allocations: 31.92 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3333, allocations: 0 / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.3333, allocations: 3.938 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3333, allocations: 4 kB / 0.5667 GB, free: 13.65 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 (13): * Single equations (assignments): 13 * 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.0001316/0.3335, allocations: 133.8 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3335, allocations: 15.91 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3338, allocations: 159.6 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3338, allocations: 4 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3338, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3339, allocations: 3.938 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.3344, allocations: 427.1 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3344, allocations: 0 / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.3345, allocations: 27.92 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3345, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3345, allocations: 4 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3345, allocations: 4.062 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3345, allocations: 3.984 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3348, allocations: 245 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.3348, allocations: 19.84 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3349, allocations: 7.984 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3349, allocations: 4 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.335, allocations: 7.984 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.335, allocations: 4 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3352, allocations: 196.2 kB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 96 / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3354, allocations: 39.86 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002638/0.3381, allocations: 1.207 MB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3383, allocations: 83.78 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3383, allocations: 0 / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3384, allocations: 39.92 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3388, allocations: 31.94 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3411, allocations: 1.913 MB / 0.5712 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3412, allocations: 101.1 kB / 0.5713 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.3412, allocations: 24.62 kB / 0.5713 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.3413, allocations: 51.41 kB / 0.5713 GB, free: 8.879 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3413, allocations: 0 / 0.5713 GB, free: 8.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.3724, allocations: 4.708 MB / 0.5759 GB, free: 4.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.97, allocations: 10.94 kB / 0.576 GB, free: 4.199 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.827047702856362]