Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") [: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 trunk/package.mo): time 0.001771/0.001771, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008729/0.000873, allocations: 88.94 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 45.14 MB / 383.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.444e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4617, allocations: 90.07 MB / 0.5917 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.4619, allocations: 67.09 kB / 0.5918 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03996/0.5019, allocations: 16.2 MB / 0.6076 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.502, allocations: 4.562 kB / 0.6076 GB, free: 0.6953 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006499/0.5026, allocations: 486.4 kB / 0.6081 GB, free: 180 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5027, allocations: 8.031 kB / 0.6081 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.5027, allocations: 0 / 0.6081 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.5028, allocations: 159.1 kB / 0.6082 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5028, allocations: 0 / 0.6082 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.5029, allocations: 4 kB / 0.6082 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.284e-05/0.5029, allocations: 4.688 kB / 0.6082 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.005e-05/0.503, allocations: 29.69 kB / 0.6083 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.503, allocations: 7.984 kB / 0.6083 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.503, allocations: 7.906 kB / 0.6083 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.503, allocations: 0 / 0.6083 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.5031, allocations: 123.5 kB / 0.6084 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.5032, allocations: 15.27 kB / 0.6084 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.5032, allocations: 4.859 kB / 0.6084 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5032, allocations: 4.594 kB / 0.6084 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5033, allocations: 60.77 kB / 0.6085 GB, free: 15.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5033, allocations: 0 / 0.6085 GB, free: 15.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.5034, allocations: 38.12 kB / 0.6085 GB, free: 15.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5035, allocations: 77.86 kB / 0.6086 GB, free: 15.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.5035, allocations: 85.69 kB / 0.6087 GB, free: 15.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5035, allocations: 25.7 kB / 0.6087 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.5036, allocations: 80.14 kB / 0.6088 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.5036, allocations: 4.406 kB / 0.6088 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5036, allocations: 8.031 kB / 0.6088 GB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5037, allocations: 312.1 kB / 0.6091 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.5037, allocations: 0.5 kB / 0.6091 GB, free: 14.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.5037, allocations: 0 / 0.6091 GB, free: 14.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.5038, allocations: 0 / 0.6091 GB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5038, allocations: 7.938 kB / 0.6091 GB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.309e-05/0.5038, allocations: 34.31 kB / 0.6091 GB, free: 14.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5039, allocations: 7.938 kB / 0.6091 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5039, allocations: 0.7188 kB / 0.6091 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5039, allocations: 7.938 kB / 0.6091 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.5039, allocations: 0 / 0.6091 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5039, allocations: 0.625 kB / 0.6091 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.5039, allocations: 3.906 kB / 0.6091 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.5039, allocations: 8 kB / 0.6091 GB, free: 14.91 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 9.105e-05/0.504, allocations: 127.4 kB / 0.6093 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.504, allocations: 0.5625 kB / 0.6093 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.5041, allocations: 6.953 kB / 0.6093 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5041, allocations: 8 kB / 0.6093 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5041, allocations: 0 / 0.6093 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5041, allocations: 0 / 0.6093 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.5042, allocations: 131 kB / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5042, allocations: 0 / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5042, allocations: 0 / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.5042, allocations: 0 / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5042, allocations: 4 kB / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5042, allocations: 0 / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5042, allocations: 0 / 0.6094 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.91e-05/0.5043, allocations: 63.72 kB / 0.6095 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.5044, allocations: 85.73 kB / 0.6096 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5044, allocations: 0 / 0.6096 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.5044, allocations: 0 / 0.6096 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.5045, allocations: 0 / 0.6096 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.5045, allocations: 0 / 0.6096 GB, free: 14.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.565e-05/0.5045, allocations: 75.84 kB / 0.6096 GB, free: 14.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.5047, allocations: 8 kB / 0.6096 GB, free: 14.32 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 0.0001395/0.5049, allocations: 95.91 kB / 0.6097 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.505, allocations: 34.25 kB / 0.6098 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.505, allocations: 0 / 0.6098 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.505, allocations: 30.2 kB / 0.6098 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.5051, allocations: 4.562 kB / 0.6098 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.5053, allocations: 60.22 kB / 0.6099 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.5056, allocations: 0.6842 MB / 0.6105 GB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5056, allocations: 4 kB / 0.6105 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Templates: time 0.001669/0.5073, allocations: 203.6 kB / 0.6107 GB, free: 13.16 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches