Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.8 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 107.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.35/0.35, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3219, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003298/0.3253, allocations: 2.137 MB / 0.5172 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3272, allocations: 1.232 MB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3273, allocations: 2.844 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3276, allocations: 40.67 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.328, allocations: 182.2 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.3289, allocations: 407.5 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.3292, allocations: 308.2 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.3293, allocations: 66.12 kB / 0.5194 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3295, allocations: 130 kB / 0.5195 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3298, allocations: 194.5 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.3298, allocations: 14.78 kB / 0.5197 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.33, allocations: 61.55 kB / 0.5198 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.3301, allocations: 139 kB / 0.5199 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3302, allocations: 172.5 kB / 0.5201 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3306, allocations: 383.8 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3306, allocations: 2.469 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3306, allocations: 0 / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3306, allocations: 0 / 0.5205 GB, free: 34.52 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000945/0.3316, allocations: 0.7898 MB / 0.5212 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3316, allocations: 12.56 kB / 0.5212 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.3321, allocations: 92.39 kB / 0.5213 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.3326, allocations: 457.4 kB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3326, allocations: 7.344 kB / 0.5218 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.3327, allocations: 20.3 kB / 0.5218 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.333, allocations: 144.1 kB / 0.5219 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.333, allocations: 3.906 kB / 0.5219 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.333, allocations: 7 kB / 0.5219 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3331, allocations: 0 / 0.5219 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.3333, allocations: 108.6 kB / 0.522 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.3342, allocations: 0.6717 MB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3344, allocations: 118.8 kB / 0.5228 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.3346, allocations: 65.41 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3347, allocations: 3.938 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3347, allocations: 32.97 kB / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3347, allocations: 0 / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001742/0.3364, allocations: 0.6821 MB / 0.5236 GB, free: 32.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3365, allocations: 91.2 kB / 0.5237 GB, free: 32.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/0.3373, allocations: 0.8852 MB / 0.5245 GB, free: 32.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3373, allocations: 25.7 kB / 0.5245 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3375, allocations: 262 kB / 0.5248 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.3375, allocations: 65.39 kB / 0.5249 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.3376, allocations: 41.72 kB / 0.5249 GB, free: 31.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.3377, allocations: 376.1 kB / 0.5253 GB, free: 31.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3379, allocations: 87.75 kB / 0.5253 GB, free: 31.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3382, allocations: 110.2 kB / 0.5254 GB, free: 31.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.3387, allocations: 210.9 kB / 0.5256 GB, free: 31.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3387, allocations: 0 / 0.5256 GB, free: 31.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005772/0.3392, allocations: 300.5 kB / 0.5259 GB, free: 31.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3393, allocations: 5.812 kB / 0.5259 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3393, allocations: 3.938 kB / 0.5259 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3393, allocations: 0 / 0.5259 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3396, allocations: 57.25 kB / 0.526 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3396, allocations: 0 / 0.526 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3398, allocations: 20.92 kB / 0.526 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3398, allocations: 14.3 kB / 0.526 GB, free: 31.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001621/0.34, allocations: 214.8 kB / 0.5262 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.3401, allocations: 56.56 kB / 0.5263 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.3408, allocations: 354 kB / 0.5266 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3408, allocations: 3.094 kB / 0.5266 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3408, allocations: 0 / 0.5266 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3408, allocations: 6.422 kB / 0.5266 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.342, allocations: 0.8828 MB / 0.5275 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.342, allocations: 2.844 kB / 0.5275 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3423, allocations: 52.88 kB / 0.5276 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3423, allocations: 6.5 kB / 0.5276 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3423, allocations: 6.938 kB / 0.5276 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3423, allocations: 7.938 kB / 0.5276 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3423, allocations: 5.812 kB / 0.5276 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3435, allocations: 1.239 MB / 0.5288 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.3436, allocations: 136.5 kB / 0.5289 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3437, allocations: 4 kB / 0.5289 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3439, allocations: 25.58 kB / 0.5289 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.344, allocations: 18.86 kB / 0.529 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.344, allocations: 8.953 kB / 0.529 GB, free: 29.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00054/0.3445, allocations: 0.649 MB / 0.5296 GB, free: 28.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3445, allocations: 0 / 0.5296 GB, free: 28.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.345, allocations: 61.59 kB / 0.5297 GB, free: 28.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.000874/0.3459, allocations: 401 kB / 0.53 GB, free: 28.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.3464, allocations: 229.3 kB / 0.5303 GB, free: 28.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3465, allocations: 0 / 0.5303 GB, free: 28.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3467, allocations: 122 kB / 0.5304 GB, free: 28.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.3474, allocations: 84.34 kB / 0.5305 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3487, allocations: 1.258 MB / 0.5317 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3489, allocations: 0.8773 MB / 0.5325 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.3491, allocations: 81.17 kB / 0.5326 GB, free: 27.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3492, allocations: 42.91 kB / 0.5327 GB, free: 27.13 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3492, allocations: 0 / 0.5327 GB, free: 27.13 MB / 378.7 MB Notification: Performance of Templates: time 0.008098/0.3573, allocations: 4.206 MB / 0.5368 GB, free: 26.75 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches