Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 183.1 kB / 16.08 MB, free: 5.484 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.6 MB / 222.4 MB, free: 13.65 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009376/0.0009377, allocations: 94.23 kB / 270.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2478/0.2478, allocations: 43.68 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 58.85 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006082/0.1262, allocations: 212.7 kB / 491.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.1309, allocations: 4.187 MB / 495.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.1309, allocations: 0 / 495.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1309, allocations: 0 / 495.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.1309, allocations: 0 / 495.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.1341, allocations: 1.683 MB / 497.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.299e-05/0.1342, allocations: 0 / 497.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1342, allocations: 0 / 497.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.1343, allocations: 0 / 497.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.627e-05/0.1343, allocations: 12 kB / 497.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.1343, allocations: 0 / 497.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.136, allocations: 0.917 MB / 498.2 MB, free: 488 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.136, allocations: 0 / 498.2 MB, free: 488 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1361, allocations: 29.7 kB / 498.2 MB, free: 452 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.1366, allocations: 415.3 kB / 498.6 MB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1367, allocations: 4 kB / 498.6 MB, free: 32 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1367, allocations: 0 / 498.6 MB, free: 32 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1367, allocations: 4 kB / 498.6 MB, free: 28 kB / 330.7 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.0004581/0.1371, allocations: 425.2 kB / 499 MB, free: 15.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.1372, allocations: 12.03 kB / 499 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1372, allocations: 0.9375 kB / 499 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1374, allocations: 164.3 kB / 499.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1374, allocations: 4.375 kB / 499.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1374, allocations: 384 / 499.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.1375, allocations: 38.02 kB / 499.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1375, allocations: 0 / 499.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1375, allocations: 4 kB / 499.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1376, allocations: 0 / 499.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.1376, allocations: 4 kB / 499.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1378, allocations: 146 kB / 499.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.1378, allocations: 22.45 kB / 499.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.1379, allocations: 12.95 kB / 499.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1379, allocations: 0 / 499.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/0.138, allocations: 64.2 kB / 499.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.557e-06/0.138, allocations: 0 / 499.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002095/0.1382, allocations: 67.33 kB / 499.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.1383, allocations: 77.11 kB / 499.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.1384, allocations: 89.86 kB / 499.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1384, allocations: 29.64 kB / 499.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1384, allocations: 84.14 kB / 499.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1385, allocations: 7.938 kB / 499.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1385, allocations: 4.125 kB / 499.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1386, allocations: 310.8 kB / 0.4884 GB, free: 14.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.1386, allocations: 0 / 0.4884 GB, free: 14.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.1386, allocations: 0 / 0.4884 GB, free: 14.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.1387, allocations: 64.25 kB / 0.4885 GB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1387, allocations: 0 / 0.4885 GB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.079e-05/0.1388, allocations: 63.41 kB / 0.4885 GB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.1388, allocations: 33.64 kB / 0.4886 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1388, allocations: 4.094 kB / 0.4886 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1389, allocations: 4 kB / 0.4886 GB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.148e-05/0.1389, allocations: 7.922 kB / 0.4886 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1389, allocations: 0 / 0.4886 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.1389, allocations: 0 / 0.4886 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1389, allocations: 0 / 0.4886 GB, free: 14.05 MB / 346.7 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 0.0001034/0.139, allocations: 135.5 kB / 0.4887 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.1391, allocations: 3.938 kB / 0.4887 GB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.1391, allocations: 3.125 kB / 0.4887 GB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1391, allocations: 4 kB / 0.4887 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1391, allocations: 0 / 0.4887 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1391, allocations: 0 / 0.4887 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1392, allocations: 149.7 kB / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1392, allocations: 0 / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1392, allocations: 0 / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1392, allocations: 3.938 kB / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1392, allocations: 0 / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1393, allocations: 0 / 0.4889 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1393, allocations: 4 kB / 0.4889 GB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1394, allocations: 90.83 kB / 0.489 GB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1394, allocations: 81.11 kB / 0.489 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1395, allocations: 15.88 kB / 0.4891 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.1395, allocations: 3.938 kB / 0.4891 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.1395, allocations: 3.938 kB / 0.4891 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1395, allocations: 0 / 0.4891 GB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.1395, allocations: 75.28 kB / 0.4891 GB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 0.4891 GB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.14, allocations: 144 kB / 0.4893 GB, free: 13.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007516/0.1408, allocations: 373.7 kB / 0.4896 GB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1409, allocations: 59.41 kB / 0.4897 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1409, allocations: 0 / 0.4897 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.1409, allocations: 55.41 kB / 0.4897 GB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1411, allocations: 7.984 kB / 0.4897 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.1413, allocations: 70.67 kB / 0.4898 GB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1415, allocations: 0.677 MB / 0.4905 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.726e-06/0.1416, allocations: 0 / 0.4905 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.1416, allocations: 11.56 kB / 0.4905 GB, free: 11.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1416, allocations: 0 / 0.4905 GB, free: 11.92 MB / 346.7 MB Notification: Performance of Templates: time 0.00766/0.1493, allocations: 4.279 MB / 0.4947 GB, free: 7.648 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches