Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.0007798, allocations: 86.59 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3899/0.3899, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.977e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.5226, allocations: 87.88 MB / 0.5586 GB, free: 16.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.5229, allocations: 75.84 kB / 0.5587 GB, free: 16.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.543, allocations: 8.805 MB / 0.5673 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.543, allocations: 4 kB / 0.5673 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.543, allocations: 11.94 kB / 0.5673 GB, free: 10.24 MB / 394.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.00064/0.5437, allocations: 0.6389 MB / 0.5679 GB, free: 9.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5437, allocations: 11.97 kB / 0.568 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.5438, allocations: 59.25 kB / 0.568 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.5445, allocations: 461.3 kB / 0.5684 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5445, allocations: 17.25 kB / 0.5685 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.5446, allocations: 13.25 kB / 0.5685 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.5448, allocations: 123.1 kB / 0.5686 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5448, allocations: 0 / 0.5686 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5448, allocations: 11.92 kB / 0.5686 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5448, allocations: 3.953 kB / 0.5686 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.545, allocations: 62.69 kB / 0.5687 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.5458, allocations: 0.7306 MB / 0.5694 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.546, allocations: 108.2 kB / 0.5695 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.5461, allocations: 48.02 kB / 0.5695 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5461, allocations: 7.984 kB / 0.5695 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.5461, allocations: 41.88 kB / 0.5696 GB, free: 7.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.5461, allocations: 0 / 0.5696 GB, free: 7.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001239/0.5474, allocations: 0.5409 MB / 0.5701 GB, free: 7.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5474, allocations: 77.11 kB / 0.5702 GB, free: 7.426 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.5482, allocations: 0.7757 MB / 0.5709 GB, free: 6.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5482, allocations: 37.06 kB / 0.571 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5484, allocations: 255.9 kB / 0.5712 GB, free: 6.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.5484, allocations: 66.31 kB / 0.5713 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5484, allocations: 3.438 kB / 0.5713 GB, free: 6.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.5485, allocations: 374.9 kB / 0.5716 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.5486, allocations: 50.75 kB / 0.5717 GB, free: 6.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.5487, allocations: 82.58 kB / 0.5718 GB, free: 6.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.5488, allocations: 63.72 kB / 0.5718 GB, free: 6.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5488, allocations: 0 / 0.5718 GB, free: 6.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002969/0.5491, allocations: 229.2 kB / 0.5721 GB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5491, allocations: 11.95 kB / 0.5721 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5492, allocations: 3.938 kB / 0.5721 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5492, allocations: 3.984 kB / 0.5721 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.5494, allocations: 66.95 kB / 0.5721 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5495, allocations: 0 / 0.5721 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.5497, allocations: 27.36 kB / 0.5722 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5497, allocations: 11.98 kB / 0.5722 GB, free: 5.766 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/0.5497, allocations: 109.5 kB / 0.5723 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.5498, allocations: 63.25 kB / 0.5723 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.5503, allocations: 297.2 kB / 0.5726 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5503, allocations: 0 / 0.5726 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5503, allocations: 0 / 0.5726 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.5503, allocations: 4 kB / 0.5726 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.5512, allocations: 0.889 MB / 0.5735 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5512, allocations: 0 / 0.5735 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.5515, allocations: 64.27 kB / 0.5736 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5515, allocations: 0 / 0.5736 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5515, allocations: 11.36 kB / 0.5736 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5515, allocations: 4 kB / 0.5736 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5515, allocations: 4 kB / 0.5736 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.5519, allocations: 419.5 kB / 0.574 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.5521, allocations: 182.8 kB / 0.5741 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.5521, allocations: 7.859 kB / 0.5742 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5524, allocations: 27.98 kB / 0.5742 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.5524, allocations: 27.41 kB / 0.5742 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.5525, allocations: 7.984 kB / 0.5742 GB, free: 3.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.553, allocations: 0.615 MB / 0.5748 GB, free: 3.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.553, allocations: 0 / 0.5748 GB, free: 3.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.5534, allocations: 78.67 kB / 0.5749 GB, free: 3.328 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008197/0.5542, allocations: 376.2 kB / 0.5752 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.5545, allocations: 158.2 kB / 0.5754 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5545, allocations: 4 kB / 0.5754 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.5546, allocations: 84.92 kB / 0.5755 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5551, allocations: 77.14 kB / 0.5756 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.5561, allocations: 0.7399 MB / 0.5763 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.5563, allocations: 0.8772 MB / 0.5771 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.5565, allocations: 94.84 kB / 0.5772 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5567, allocations: 46.53 kB / 0.5773 GB, free: 1.113 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5567, allocations: 0 / 0.5773 GB, free: 1.113 MB / 394.7 MB Notification: Performance of Templates: time 0.007937/0.5646, allocations: 4.59 MB / 0.5818 GB, free: 12.54 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches