Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.001119/0.001119, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001476/0.001476, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.031/1.031, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.1567/0.1567, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 348.1 MB, free: 9.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.369e-05, allocations: 4.281 kB / 348.1 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.002023/0.002056, allocations: 0.5003 MB / 348.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.005734, allocations: 2.253 MB / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.005788, allocations: 0 / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.005814, allocations: 0 / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.848e-06/0.005824, allocations: 0 / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.008813, allocations: 1.159 MB / 352 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.008879, allocations: 7.938 kB / 352 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.008922, allocations: 4 kB / 352 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.008967, allocations: 4 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.008999, allocations: 0 / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.00901, allocations: 0 / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.01075, allocations: 0.948 MB / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.01077, allocations: 0 / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.01079, allocations: 8 kB / 353 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.01147, allocations: 0.5066 MB / 353.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.01148, allocations: 0 / 353.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01148, allocations: 0 / 353.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.01149, allocations: 0 / 353.5 MB, free: 3.805 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.0004454/0.01193, allocations: 453.3 kB / 353.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.01199, allocations: 12.03 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.01204, allocations: 0.9375 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.346e-05/0.01211, allocations: 108.6 kB / 354 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.01213, allocations: 4.375 kB / 354 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.01213, allocations: 384 / 354 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.01223, allocations: 63.91 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01224, allocations: 192 / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.01225, allocations: 384 / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01226, allocations: 3.938 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.01228, allocations: 25.7 kB / 354.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.01238, allocations: 101.2 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.01244, allocations: 48.77 kB / 354.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.01246, allocations: 37.48 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-06/0.01247, allocations: 3.938 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.01252, allocations: 59.09 kB / 354.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.01252, allocations: 4 kB / 354.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.01271, allocations: 122.8 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.01274, allocations: 77.11 kB / 354.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.913e-05/0.01278, allocations: 142.2 kB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.01279, allocations: 25.7 kB / 354.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.626e-05/0.0128, allocations: 126.9 kB / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.01283, allocations: 4.328 kB / 354.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.01286, allocations: 19.38 kB / 354.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.01293, allocations: 0.4883 MB / 355.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.01295, allocations: 25.7 kB / 355.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.01296, allocations: 41.7 kB / 355.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.013, allocations: 63.09 kB / 355.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01301, allocations: 4 kB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.09e-05/0.01308, allocations: 97.05 kB / 355.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.01311, allocations: 29.7 kB / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01311, allocations: 0 / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01313, allocations: 0 / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.01313, allocations: 0 / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.01313, allocations: 0 / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.01315, allocations: 12.03 kB / 355.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01316, allocations: 0 / 355.6 MB, free: 1.34 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.033e-05/0.01322, allocations: 186.2 kB / 355.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.01323, allocations: 4 kB / 355.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.01325, allocations: 6.984 kB / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01325, allocations: 0 / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01325, allocations: 0 / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01325, allocations: 0 / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.05e-05/0.01331, allocations: 97.2 kB / 355.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01332, allocations: 0 / 355.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.01332, allocations: 0 / 355.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01332, allocations: 4 kB / 355.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01333, allocations: 0 / 355.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01333, allocations: 0 / 355.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01333, allocations: 4 kB / 355.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.01346, allocations: 131.8 kB / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.01347, allocations: 0 / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.01348, allocations: 0 / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.01349, allocations: 0 / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.01351, allocations: 15.91 kB / 356.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.01351, allocations: 0 / 356.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.01353, allocations: 123.2 kB / 356.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01353, allocations: 0 / 356.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.01402, allocations: 139.6 kB / 356.3 MB, free: 0.5625 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.0008443/0.01486, allocations: 412 kB / 356.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01499, allocations: 114.5 kB / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01499, allocations: 0 / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.675e-05/0.01506, allocations: 92.78 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.0152, allocations: 7.938 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.01545, allocations: 113.7 kB / 357.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.0155, allocations: 55.34 kB / 357.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.373e-06/0.0155, allocations: 3.938 kB / 357.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.01556, allocations: 74.33 kB / 357.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01556, allocations: 3.938 kB / 357.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Templates: time 0.01311/0.02867, allocations: 5.688 MB / 362.9 MB, free: 9.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3119260538369417]