Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002882/0.002882, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2158/0.2158, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.407e-05, allocations: 6.25 kB / 346.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001877/0.001911, allocations: 489.7 kB / 347.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.00604, allocations: 2.249 MB / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.006079, allocations: 0 / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.006093, allocations: 0 / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.0061, allocations: 0 / 349.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.009401, allocations: 1.167 MB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.009456, allocations: 7.984 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.009493, allocations: 0 / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.009534, allocations: 0 / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.009562, allocations: 0 / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.009572, allocations: 0 / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.01132, allocations: 0.9402 MB / 351.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.01132, allocations: 0 / 351.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.01135, allocations: 0 / 351.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.01207, allocations: 0.5104 MB / 352.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01207, allocations: 0 / 352.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01207, allocations: 0 / 352.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.01208, allocations: 0 / 352.3 MB, free: 4.469 MB / 282.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.0003981/0.01248, allocations: 457.3 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.01252, allocations: 8.031 kB / 352.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.01256, allocations: 8.938 kB / 352.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.512e-05/0.01262, allocations: 108.6 kB / 352.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01263, allocations: 384 / 352.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.01264, allocations: 4.375 kB / 352.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.01274, allocations: 51.97 kB / 352.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01275, allocations: 192 / 352.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.01275, allocations: 384 / 352.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.01276, allocations: 11.92 kB / 352.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.01279, allocations: 33.58 kB / 352.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.884e-05/0.01289, allocations: 108.6 kB / 353 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.01295, allocations: 56.8 kB / 353.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.01297, allocations: 37.45 kB / 353.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.01299, allocations: 0 / 353.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.01302, allocations: 59.09 kB / 353.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.01302, allocations: 0 / 353.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002066/0.01323, allocations: 126.7 kB / 353.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.01325, allocations: 85.05 kB / 353.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.318e-05/0.01329, allocations: 142.2 kB / 353.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.01329, allocations: 25.7 kB / 353.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.01331, allocations: 126.9 kB / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.01333, allocations: 8.109 kB / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.01337, allocations: 23.38 kB / 353.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.01343, allocations: 492.1 kB / 354.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.01345, allocations: 25.7 kB / 354.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.01346, allocations: 29.7 kB / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.0135, allocations: 63.09 kB / 354.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0135, allocations: 0 / 354.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.117e-05/0.01358, allocations: 97.03 kB / 354.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.01361, allocations: 29.7 kB / 354.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01361, allocations: 96 / 354.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01363, allocations: 4 kB / 354.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-06/0.01363, allocations: 4 kB / 354.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01364, allocations: 3.938 kB / 354.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.01366, allocations: 3.953 kB / 354.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.01367, allocations: 0 / 354.4 MB, free: 1.977 MB / 282.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 6.182e-05/0.01373, allocations: 186.3 kB / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.01374, allocations: 0 / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.01376, allocations: 7 kB / 354.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01376, allocations: 3.984 kB / 354.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01376, allocations: 0 / 354.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01376, allocations: 11.94 kB / 354.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.415e-05/0.01382, allocations: 104.6 kB / 354.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01382, allocations: 0 / 354.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.01382, allocations: 3.984 kB / 354.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01382, allocations: 3.938 kB / 354.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01383, allocations: 4 kB / 354.8 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01383, allocations: 0 / 354.8 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01383, allocations: 0 / 354.8 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.01394, allocations: 135.7 kB / 354.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.01394, allocations: 4 kB / 354.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01396, allocations: 8.031 kB / 354.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.01397, allocations: 0 / 354.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.01399, allocations: 0 / 354.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.01399, allocations: 0 / 354.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.01402, allocations: 123.1 kB / 355 MB, free: 1.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01402, allocations: 0 / 355 MB, free: 1.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005746/0.01459, allocations: 147.5 kB / 355.2 MB, free: 1.16 MB / 282.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.0009081/0.0155, allocations: 392.8 kB / 355.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01563, allocations: 122.5 kB / 355.7 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01563, allocations: 3.938 kB / 355.7 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.01567, allocations: 92.8 kB / 355.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.01586, allocations: 128 / 355.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.01607, allocations: 121.6 kB / 355.9 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.01611, allocations: 51.36 kB / 355.9 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.01611, allocations: 0 / 355.9 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.01613, allocations: 12.5 kB / 355.9 MB, free: 284 kB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01613, allocations: 0 / 355.9 MB, free: 284 kB / 282.7 MB Notification: Performance of Templates: time 0.01094/0.02707, allocations: 4.404 MB / 360.4 MB, free: 11.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.986359676928259]