Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 179.8 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 230.3 MB, free: 7.648 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 81.77 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1594/0.1594, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.58e-06, allocations: 0 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09789, allocations: 61.92 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/0.3572, allocations: 88.96 MB / 0.581 GB, free: 7.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.3575, allocations: 64.33 kB / 0.581 GB, free: 7.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03665/0.3941, allocations: 14.73 MB / 0.5954 GB, free: 8.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3942, allocations: 4 kB / 0.5954 GB, free: 8.969 MB / 410.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.0005172/0.3947, allocations: 467.8 kB / 0.5958 GB, free: 8.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3947, allocations: 17.22 kB / 0.5959 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.3948, allocations: 3.906 kB / 0.5959 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.3949, allocations: 167 kB / 0.596 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3949, allocations: 0 / 0.596 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.3949, allocations: 0 / 0.596 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.26e-05/0.3949, allocations: 0 / 0.596 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.082e-05/0.395, allocations: 29.7 kB / 0.5961 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.395, allocations: 4 kB / 0.5961 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.395, allocations: 0 / 0.5961 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.395, allocations: 3.906 kB / 0.5961 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.75e-05/0.3951, allocations: 126.2 kB / 0.5962 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.227e-05/0.3952, allocations: 18.61 kB / 0.5962 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.073e-05/0.3952, allocations: 4.859 kB / 0.5962 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.3952, allocations: 3.984 kB / 0.5962 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3952, allocations: 64.27 kB / 0.5963 GB, free: 7.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3952, allocations: 4.062 kB / 0.5963 GB, free: 7.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001023/0.3953, allocations: 25.7 kB / 0.5963 GB, free: 7.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3954, allocations: 81.11 kB / 0.5964 GB, free: 7.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.807e-05/0.3954, allocations: 85 kB / 0.5965 GB, free: 7.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3954, allocations: 25.7 kB / 0.5965 GB, free: 7.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.3955, allocations: 80.14 kB / 0.5966 GB, free: 7.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.3955, allocations: 7.844 kB / 0.5966 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-06/0.3955, allocations: 0 / 0.5966 GB, free: 7.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.3956, allocations: 314.9 kB / 0.5969 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.3956, allocations: 0.75 kB / 0.5969 GB, free: 7.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.3956, allocations: 4 kB / 0.5969 GB, free: 7.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.223e-05/0.3956, allocations: 3.984 kB / 0.5969 GB, free: 7.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3956, allocations: 0 / 0.5969 GB, free: 7.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.504e-05/0.3957, allocations: 33.7 kB / 0.5969 GB, free: 7.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3957, allocations: 4 kB / 0.5969 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3957, allocations: 4 kB / 0.5969 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3957, allocations: 4.094 kB / 0.5969 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3957, allocations: 3.938 kB / 0.5969 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.3957, allocations: 0 / 0.5969 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.3958, allocations: 0 / 0.5969 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3958, allocations: 3.984 kB / 0.5969 GB, free: 7.191 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/0.3958, allocations: 134.6 kB / 0.5971 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.3959, allocations: 3.984 kB / 0.5971 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.032e-05/0.3959, allocations: 10.89 kB / 0.5971 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3959, allocations: 0 / 0.5971 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3959, allocations: 4 kB / 0.5971 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3959, allocations: 0 / 0.5971 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.603e-05/0.396, allocations: 134.1 kB / 0.5972 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.396, allocations: 0 / 0.5972 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.396, allocations: 0 / 0.5972 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.396, allocations: 0 / 0.5972 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.396, allocations: 0 / 0.5972 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.396, allocations: 3.984 kB / 0.5972 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.396, allocations: 0 / 0.5972 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.765e-05/0.3961, allocations: 65.14 kB / 0.5973 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.3961, allocations: 81.02 kB / 0.5973 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3961, allocations: 0 / 0.5973 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.3961, allocations: 4 kB / 0.5973 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.3961, allocations: 3.984 kB / 0.5973 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.3962, allocations: 0 / 0.5973 GB, free: 6.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-05/0.3962, allocations: 75.28 kB / 0.5974 GB, free: 6.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.3964, allocations: 8 kB / 0.5974 GB, free: 6.586 MB / 410.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) * 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 (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 9.176e-05/0.3965, allocations: 95.28 kB / 0.5975 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.289e-05/0.3965, allocations: 33.64 kB / 0.5976 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.3965, allocations: 0 / 0.5976 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.3966, allocations: 33.7 kB / 0.5976 GB, free: 6.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.333e-05/0.3967, allocations: 0 / 0.5976 GB, free: 6.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001203/0.3968, allocations: 44.06 kB / 0.5976 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.397, allocations: 0.6763 MB / 0.5983 GB, free: 5.637 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.397, allocations: 8.125 kB / 0.5983 GB, free: 5.629 MB / 410.7 MB Notification: Performance of Templates: time 0.001469/0.3985, allocations: 204.8 kB / 0.5985 GB, free: 5.43 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches