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.001533/0.001533, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001877/0.001877, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9311/0.9311, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.135/0.135, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.613e-06/1.613e-06, allocations: 0 / 347.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.918e-05, allocations: 6.312 kB / 347.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0008956/0.0009147, allocations: 0.5025 MB / 348.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.003242, allocations: 2.269 MB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.003278, allocations: 0 / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.003308, allocations: 11.94 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.659e-06/0.003318, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.005372, allocations: 1.163 MB / 351.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.005426, allocations: 0 / 351.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.005461, allocations: 8 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.005489, allocations: 0 / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.005513, allocations: 4 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.005521, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.006605, allocations: 0.948 MB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.006618, allocations: 3.938 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.006642, allocations: 4 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.007103, allocations: 0.5027 MB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007105, allocations: 0 / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007106, allocations: 3.938 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.00711, allocations: 0 / 353 MB, free: 4.055 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.0002877/0.007397, allocations: 453.4 kB / 353.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.007434, allocations: 16.03 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.007469, allocations: 4.875 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.734e-05/0.007506, allocations: 104.6 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.007516, allocations: 384 / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.007526, allocations: 4.375 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.268e-05/0.007599, allocations: 63.88 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.007607, allocations: 192 / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.007615, allocations: 4.375 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.007623, allocations: 3.938 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.248e-05/0.007635, allocations: 25.7 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.577e-05/0.007701, allocations: 116.6 kB / 353.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.007734, allocations: 48.77 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.007748, allocations: 37.48 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.007752, allocations: 0 / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.007775, allocations: 67.02 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.007777, allocations: 3.984 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.007925, allocations: 114.8 kB / 354.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.007953, allocations: 89.03 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.31e-05/0.007976, allocations: 142.2 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.007982, allocations: 29.83 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/0.007995, allocations: 126.9 kB / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.008013, allocations: 352 / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.008036, allocations: 19.38 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.008087, allocations: 492.1 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.008101, allocations: 29.7 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.008109, allocations: 29.7 kB / 355 MB, free: 1.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.008143, allocations: 71.02 kB / 355.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008146, allocations: 0 / 355.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.861e-05/0.008194, allocations: 89.16 kB / 355.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.008215, allocations: 33.7 kB / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.008221, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.008236, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-06/0.008239, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008245, allocations: 3.938 kB / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.008256, allocations: 7.984 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.008263, allocations: 4 kB / 355.2 MB, free: 1.562 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 4.278e-05/0.008306, allocations: 182.2 kB / 355.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-06/0.008311, allocations: 7.938 kB / 355.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.008323, allocations: 6.938 kB / 355.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008324, allocations: 4 kB / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.008329, allocations: 0 / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008331, allocations: 3.938 kB / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.596e-05/0.008367, allocations: 112.6 kB / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008368, allocations: 4 kB / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.008368, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.008369, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.008376, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-07/0.008376, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008377, allocations: 4 kB / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.863e-05/0.008436, allocations: 135.8 kB / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.00844, allocations: 0 / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.008453, allocations: 0 / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-06/0.008457, allocations: 4 kB / 355.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.008471, allocations: 0 / 355.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.008472, allocations: 0 / 355.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.415e-05/0.008486, allocations: 123.1 kB / 355.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008486, allocations: 3.938 kB / 355.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.008804, allocations: 147.6 kB / 356 MB, free: 0.75 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.0004791/0.009283, allocations: 394.9 kB / 356.3 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.009364, allocations: 122.5 kB / 356.5 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009365, allocations: 0 / 356.5 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.009381, allocations: 92.86 kB / 356.5 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.705e-05/0.009468, allocations: 3.984 kB / 356.6 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.009652, allocations: 109.7 kB / 356.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.009687, allocations: 51.36 kB / 356.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.321e-06/0.009694, allocations: 0 / 356.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.00971, allocations: 12.5 kB / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00971, allocations: 0 / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005537/0.01525, allocations: 4.414 MB / 361.1 MB, free: 11.46 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.3231300399638712]