Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 84.08 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5166, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00379/0.5205, allocations: 1.739 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.5224, allocations: 1.029 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.5225, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.5229, allocations: 56.19 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.5234, allocations: 96.45 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.5237, allocations: 76.31 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.524, allocations: 123.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.5241, allocations: 23.42 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.5243, allocations: 65.3 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.5244, allocations: 41.94 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.5244, allocations: 6.219 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.5246, allocations: 65.11 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.5247, allocations: 28.52 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.092e-05/0.5248, allocations: 45.69 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.5251, allocations: 148.7 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5251, allocations: 0 / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5251, allocations: 0 / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.5251, allocations: 4 kB / 0.5345 GB, free: 10.97 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005779/0.5257, allocations: 446.7 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5258, allocations: 9.969 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.5258, allocations: 14.28 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5261, allocations: 232.1 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5262, allocations: 2.594 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5262, allocations: 11.52 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.5264, allocations: 78 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5264, allocations: 5.125 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5264, allocations: 0 / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5264, allocations: 1.094 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.5266, allocations: 40.5 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.527, allocations: 318.1 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.5273, allocations: 81.81 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.5274, allocations: 34.88 kB / 0.5358 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.5274, allocations: 6.703 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.5276, allocations: 82.66 kB / 0.5359 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.5277, allocations: 0 / 0.5359 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009657/0.5286, allocations: 299 kB / 0.5361 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.5287, allocations: 68.78 kB / 0.5362 GB, free: 9.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.5289, allocations: 194.8 kB / 0.5364 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.529, allocations: 30.7 kB / 0.5364 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.5291, allocations: 101.7 kB / 0.5365 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.5291, allocations: 47.23 kB / 0.5366 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.5292, allocations: 31.47 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5294, allocations: 327.3 kB / 0.5369 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.5295, allocations: 35.33 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.5296, allocations: 64.69 kB / 0.537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.5298, allocations: 93.45 kB / 0.5371 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5298, allocations: 1.219 kB / 0.5371 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002859/0.5301, allocations: 152.1 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5301, allocations: 5.125 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5301, allocations: 0.7812 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5301, allocations: 5.938 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.5302, allocations: 31.89 kB / 0.5373 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.5303, allocations: 9.125 kB / 0.5373 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.5303, allocations: 6.641 kB / 0.5373 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5303, allocations: 3.812 kB / 0.5373 GB, free: 8.57 MB / 398.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 (15): * Single equations (assignments): 15 * 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.0001025/0.5304, allocations: 125.8 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.5305, allocations: 14.69 kB / 0.5374 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.5305, allocations: 25.17 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5306, allocations: 1.094 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5306, allocations: 8.938 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5306, allocations: 0 / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.5312, allocations: 496.4 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5312, allocations: 1.938 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.5313, allocations: 18.03 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5313, allocations: 5.828 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5313, allocations: 2.875 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5313, allocations: 5.031 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5313, allocations: 1.438 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5317, allocations: 261.3 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5317, allocations: 88.39 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.5318, allocations: 6.734 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.5318, allocations: 18.61 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.5319, allocations: 5.781 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.5319, allocations: 8.359 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.5321, allocations: 151.9 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5321, allocations: 0 / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.5324, allocations: 30.81 kB / 0.5385 GB, free: 7.508 MB / 398.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 (13): * Single equations (assignments): 11 * 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.00112/0.5335, allocations: 0.5012 MB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.5337, allocations: 101.6 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5338, allocations: 0 / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.5339, allocations: 49.33 kB / 0.5391 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.5342, allocations: 40.95 kB / 0.5392 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.5347, allocations: 271.5 kB / 0.5394 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.535, allocations: 0.7193 MB / 0.5401 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.5351, allocations: 33.98 kB / 0.5402 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.5352, allocations: 22.84 kB / 0.5402 GB, free: 6.203 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5352, allocations: 1.094 kB / 0.5402 GB, free: 6.203 MB / 398.1 MB Notification: Performance of Templates: time 0.005893/0.5411, allocations: 2.186 MB / 0.5423 GB, free: 5.102 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches