Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001635/0.001635, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002232/0.002232, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2256/0.2256, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 79.88 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3406, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003898/0.3445, allocations: 1.959 MB / 0.5635 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3465, allocations: 1.088 MB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3466, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.3469, allocations: 55.64 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3472, allocations: 95.53 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.3475, allocations: 103.6 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3477, allocations: 147.5 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3479, allocations: 19.56 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.348, allocations: 67.64 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3481, allocations: 51.72 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3481, allocations: 8 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3482, allocations: 43.98 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.3483, allocations: 31.91 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.3484, allocations: 51.61 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3486, allocations: 159.2 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3487, allocations: 4 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3487, allocations: 0 / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3487, allocations: 0 / 0.5653 GB, free: 408 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006569/0.3493, allocations: 406.5 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3494, allocations: 12.03 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.878e-05/0.3494, allocations: 4.188 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.3494, allocations: 42.73 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.3494, allocations: 12.84 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3498, allocations: 182.9 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3498, allocations: 4.375 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3498, allocations: 8.938 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3501, allocations: 112.1 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3501, allocations: 3.938 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3501, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3501, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3503, allocations: 47.97 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.3509, allocations: 492 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3512, allocations: 82.66 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3513, allocations: 36.78 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3514, allocations: 4 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3516, allocations: 83.38 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3516, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004559/0.352, allocations: 145.4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3521, allocations: 55.39 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.3523, allocations: 195.2 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3524, allocations: 29.7 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3525, allocations: 116.1 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3526, allocations: 39.72 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3526, allocations: 21.72 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3528, allocations: 334.8 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3529, allocations: 27.98 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.353, allocations: 75.45 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3532, allocations: 92.22 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3532, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002838/0.3535, allocations: 137.4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3535, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3535, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3535, allocations: 3.984 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3536, allocations: 31.92 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3536, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.3537, allocations: 27.81 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3537, allocations: 4 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001151/0.3538, allocations: 129.3 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3538, allocations: 15.91 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.3541, allocations: 127.4 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3541, allocations: 4 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3541, allocations: 0 / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3541, allocations: 11.86 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3543, allocations: 180.7 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3543, allocations: 0 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.3544, allocations: 19.94 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3544, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3544, allocations: 3.984 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3544, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3544, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.3548, allocations: 180.9 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.3548, allocations: 11.94 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3548, allocations: 12.06 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.3549, allocations: 7.984 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3549, allocations: 7.984 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.355, allocations: 3.938 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3551, allocations: 147.2 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3551, allocations: 0 / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.3553, allocations: 27.94 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002121/0.3574, allocations: 1.013 MB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.3577, allocations: 79.78 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3577, allocations: 0 / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.3578, allocations: 40.16 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.3581, allocations: 47.53 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3603, allocations: 1.749 MB / 0.5718 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3607, allocations: 0.7123 MB / 0.5725 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.3607, allocations: 25.41 kB / 0.5725 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3608, allocations: 43.42 kB / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3608, allocations: 0 / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.3877, allocations: 4.045 MB / 0.5765 GB, free: 4.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.03, allocations: 11.5 kB / 0.5765 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.981859315012116]