Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3252, allocations: 62.44 MB / 0.5317 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003039/0.3282, allocations: 1.729 MB / 0.5334 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3299, allocations: 1.022 MB / 0.5344 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.33, allocations: 5.188 kB / 0.5344 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3303, allocations: 44.36 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3306, allocations: 91.8 kB / 0.5346 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3308, allocations: 83.59 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.331, allocations: 100.6 kB / 0.5347 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.3311, allocations: 14.88 kB / 0.5348 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.3312, allocations: 48.27 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.3313, allocations: 30.8 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3313, allocations: 4.125 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3314, allocations: 43.47 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.3315, allocations: 22.73 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.3316, allocations: 41.31 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3318, allocations: 116.1 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3318, allocations: 9.297 kB / 0.5351 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3318, allocations: 0 / 0.5351 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3318, allocations: 0 / 0.5351 GB, free: 11.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004958/0.3323, allocations: 418.5 kB / 0.5355 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3324, allocations: 9.625 kB / 0.5355 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3324, allocations: 16.86 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3327, allocations: 221.9 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3327, allocations: 5.688 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3327, allocations: 5.5 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3329, allocations: 54.05 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3329, allocations: 5.375 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3329, allocations: 0 / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3329, allocations: 1.375 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.333, allocations: 17.61 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.3334, allocations: 288.3 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3336, allocations: 62.14 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.3336, allocations: 21.67 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3337, allocations: 4.984 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3338, allocations: 65.33 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3339, allocations: 0 / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.3344, allocations: 182 kB / 0.5364 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3345, allocations: 60.61 kB / 0.5364 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3347, allocations: 208 kB / 0.5366 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3347, allocations: 26.73 kB / 0.5367 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.3348, allocations: 105.3 kB / 0.5368 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3348, allocations: 23.66 kB / 0.5368 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.3349, allocations: 24.7 kB / 0.5368 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.335, allocations: 331.1 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.3351, allocations: 22.23 kB / 0.5371 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.3352, allocations: 35.38 kB / 0.5372 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3353, allocations: 58.92 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3353, allocations: 1.219 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3355, allocations: 107.4 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3355, allocations: 5.875 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3355, allocations: 0 / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3355, allocations: 4.969 kB / 0.5373 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3356, allocations: 21.62 kB / 0.5374 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3356, allocations: 1.062 kB / 0.5374 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3357, allocations: 10.14 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3357, allocations: 6.125 kB / 0.5374 GB, free: 9.098 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 (10): * Single equations (assignments): 10 * 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.125e-05/0.3358, allocations: 124.7 kB / 0.5375 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3358, allocations: 13.48 kB / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3359, allocations: 15.19 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3359, allocations: 1.125 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3359, allocations: 0 / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3359, allocations: 9.062 kB / 0.5375 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3364, allocations: 399.6 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3364, allocations: 0 / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.3364, allocations: 7.562 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3364, allocations: 1.281 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3364, allocations: 5.625 kB / 0.5379 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3365, allocations: 1.031 kB / 0.5379 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3365, allocations: 5.094 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3367, allocations: 213.3 kB / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3367, allocations: 91.55 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3368, allocations: 9.219 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.3369, allocations: 2.094 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3369, allocations: 11.34 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3369, allocations: 4.219 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3371, allocations: 166.9 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3371, allocations: 0 / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3373, allocations: 21.02 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.0009903/0.3383, allocations: 454.6 kB / 0.5389 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3386, allocations: 57.61 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3386, allocations: 1.344 kB / 0.5389 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.3387, allocations: 28.23 kB / 0.5389 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.339, allocations: 37.34 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.3395, allocations: 260.8 kB / 0.5392 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3398, allocations: 0.7106 MB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3398, allocations: 16.41 kB / 0.5399 GB, free: 6.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3398, allocations: 0 / 0.5399 GB, free: 6.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004138/0.344, allocations: 2.001 MB / 0.5419 GB, free: 5.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches