Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008242/0.0008239, allocations: 93.25 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3365/0.3365, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 12 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3073, allocations: 63.09 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00179/0.3092, allocations: 1.604 MB / 0.5229 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3106, allocations: 1.461 MB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.3107, allocations: 7.281 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.311, allocations: 156.8 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3113, allocations: 155.4 kB / 0.5247 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.3116, allocations: 165.2 kB / 0.5248 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.3118, allocations: 234.5 kB / 0.5251 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.312, allocations: 26.69 kB / 0.5251 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3121, allocations: 98.39 kB / 0.5252 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3122, allocations: 132.8 kB / 0.5253 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3122, allocations: 3 kB / 0.5253 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3123, allocations: 55.92 kB / 0.5254 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.3124, allocations: 49.22 kB / 0.5254 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.3125, allocations: 105.6 kB / 0.5255 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3127, allocations: 217.1 kB / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3127, allocations: 0 / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3127, allocations: 0 / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3127, allocations: 0 / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004808/0.3132, allocations: 0.4962 MB / 0.5262 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3133, allocations: 12.5 kB / 0.5262 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.3133, allocations: 27.22 kB / 0.5262 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3135, allocations: 281.1 kB / 0.5265 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3136, allocations: 7.219 kB / 0.5265 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3136, allocations: 9.906 kB / 0.5265 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3138, allocations: 106.4 kB / 0.5266 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3138, allocations: 0 / 0.5266 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3138, allocations: 7.094 kB / 0.5266 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3138, allocations: 6.969 kB / 0.5266 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.314, allocations: 41.47 kB / 0.5267 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3144, allocations: 468 kB / 0.5271 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.3147, allocations: 130.2 kB / 0.5272 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.3148, allocations: 45.77 kB / 0.5273 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3148, allocations: 2.812 kB / 0.5273 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.315, allocations: 120.7 kB / 0.5274 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.315, allocations: 0 / 0.5274 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001021/0.316, allocations: 496.1 kB / 0.5279 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3161, allocations: 80.17 kB / 0.528 GB, free: 33.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3163, allocations: 368.7 kB / 0.5283 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3164, allocations: 29.7 kB / 0.5283 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.3164, allocations: 156.2 kB / 0.5285 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.3165, allocations: 73.66 kB / 0.5286 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3165, allocations: 4 kB / 0.5286 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.3166, allocations: 340.7 kB / 0.5289 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.3167, allocations: 55.89 kB / 0.5289 GB, free: 32.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3168, allocations: 95.69 kB / 0.529 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.317, allocations: 156.7 kB / 0.5292 GB, free: 32.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.317, allocations: 0 / 0.5292 GB, free: 32.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002961/0.3173, allocations: 229.8 kB / 0.5294 GB, free: 32.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3173, allocations: 9.656 kB / 0.5294 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3173, allocations: 0 / 0.5294 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3173, allocations: 7 kB / 0.5294 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3175, allocations: 49.41 kB / 0.5295 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3175, allocations: 0 / 0.5295 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.3176, allocations: 10.16 kB / 0.5295 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3176, allocations: 5.656 kB / 0.5295 GB, free: 32.69 MB / 378.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.879e-05/0.3177, allocations: 161.4 kB / 0.5296 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3177, allocations: 32.69 kB / 0.5297 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.3178, allocations: 38.67 kB / 0.5297 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3178, allocations: 7.125 kB / 0.5297 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3178, allocations: 2.906 kB / 0.5297 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3178, allocations: 0 / 0.5297 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.3184, allocations: 0.722 MB / 0.5304 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3184, allocations: 0 / 0.5304 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.3185, allocations: 30.25 kB / 0.5304 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3185, allocations: 2.812 kB / 0.5304 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3185, allocations: 13.7 kB / 0.5305 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3186, allocations: 6.969 kB / 0.5305 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3186, allocations: 0 / 0.5305 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3189, allocations: 425.4 kB / 0.5309 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3189, allocations: 109.1 kB / 0.531 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.319, allocations: 10.73 kB / 0.531 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3191, allocations: 13.75 kB / 0.531 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3191, allocations: 23.34 kB / 0.531 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3192, allocations: 12.16 kB / 0.531 GB, free: 31.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3194, allocations: 273.6 kB / 0.5313 GB, free: 31.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3194, allocations: 2.906 kB / 0.5313 GB, free: 31.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.3197, allocations: 50.8 kB / 0.5313 GB, free: 31.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.0009632/0.3206, allocations: 0.5933 MB / 0.5319 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3209, allocations: 153.6 kB / 0.5321 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3209, allocations: 0 / 0.5321 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.321, allocations: 88.45 kB / 0.5322 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3215, allocations: 56.19 kB / 0.5322 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.3222, allocations: 0.5616 MB / 0.5328 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3223, allocations: 0.7635 MB / 0.5335 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.693e-05/0.3224, allocations: 43.84 kB / 0.5335 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3225, allocations: 27.8 kB / 0.5336 GB, free: 29.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3225, allocations: 2.625 kB / 0.5336 GB, free: 29.82 MB / 378.7 MB Notification: Performance of Templates: time 0.005148/0.3276, allocations: 2.937 MB / 0.5364 GB, free: 29.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches