Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 111.9 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 187.4 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2446/0.2446, allocations: 43.54 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 65.47 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001826/0.1306, allocations: 0.4948 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.1337, allocations: 1.964 MB / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.1337, allocations: 0 / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.1337, allocations: 0 / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.1338, allocations: 4 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.136, allocations: 0.72 MB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.136, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1361, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.1361, allocations: 7.984 kB / 0.4917 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.597e-05/0.1361, allocations: 3.938 kB / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1361, allocations: 4 kB / 0.4917 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1373, allocations: 0.6629 MB / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.1373, allocations: 0 / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.1374, allocations: 4 kB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.1383, allocations: 0.5653 MB / 0.4929 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1383, allocations: 0 / 0.4929 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1383, allocations: 0 / 0.4929 GB, free: 7.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1383, allocations: 0 / 0.4929 GB, free: 7.367 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005141/0.1388, allocations: 405.3 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1389, allocations: 11.89 kB / 0.4933 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1389, allocations: 4.938 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1391, allocations: 168.3 kB / 0.4934 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1391, allocations: 4.359 kB / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1391, allocations: 384 / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.1392, allocations: 34.02 kB / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1392, allocations: 3.938 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1392, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1392, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1393, allocations: 4 kB / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.1394, allocations: 153.7 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.1394, allocations: 18.56 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.1395, allocations: 4.859 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.1395, allocations: 0 / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1395, allocations: 64.3 kB / 0.4937 GB, free: 6.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1395, allocations: 7.938 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.1397, allocations: 67.34 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1398, allocations: 81.09 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.85e-05/0.1398, allocations: 89.86 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1398, allocations: 25.7 kB / 0.494 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.1399, allocations: 80.14 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1399, allocations: 0 / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1399, allocations: 13.72 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.14, allocations: 318.9 kB / 0.4944 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.14, allocations: 0 / 0.4944 GB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.1401, allocations: 8 kB / 0.4944 GB, free: 5.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.1401, allocations: 60.2 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1401, allocations: 0 / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.021e-05/0.1402, allocations: 63.39 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.1402, allocations: 29.7 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1402, allocations: 7.938 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1403, allocations: 4.094 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1403, allocations: 0 / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1403, allocations: 0 / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1403, allocations: 0 / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1403, allocations: 0 / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.617e-05/0.1404, allocations: 147.5 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.1404, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.1404, allocations: 7.062 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1404, allocations: 0 / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1404, allocations: 4 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.1405, allocations: 81.11 kB / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1405, allocations: 0 / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.1405, allocations: 0 / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.1405, allocations: 0 / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001152/0.1406, allocations: 198 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001317/0.1408, allocations: 244.5 kB / 0.4952 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.681e-05/0.1408, allocations: 4 kB / 0.4952 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.1408, allocations: 75.28 kB / 0.4952 GB, free: 4.566 MB / 382.1 MB Notification: Performance of Backend: time 1.453e-06/0.1408, allocations: 0 / 0.4952 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.1419, allocations: 304.1 kB / 0.4955 GB, free: 4.254 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003587/0.1423, allocations: 0.5871 MB / 0.4961 GB, free: 3.605 MB / 382.1 MB Notification: Performance of Templates: time 0.007652/0.1499, allocations: 3.784 MB / 0.4998 GB, free: 15.82 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches