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.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 106.9 kB / 17.03 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 72.69 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.1004, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001749/0.1022, allocations: 476.5 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.105, allocations: 2.312 MB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.105, allocations: 0 / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.105, allocations: 0 / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.1051, allocations: 3.938 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.1077, allocations: 1.132 MB / 445.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.1078, allocations: 4 kB / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1078, allocations: 0 / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.1079, allocations: 0 / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.1079, allocations: 0 / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.1079, allocations: 7.938 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1093, allocations: 0.9911 MB / 446.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1094, allocations: 0 / 446.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1094, allocations: 7.984 kB / 446.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.1101, allocations: 415.4 kB / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1101, allocations: 0 / 447.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1101, allocations: 4 kB / 447.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1101, allocations: 0 / 447.3 MB, free: 0.8086 MB / 318.1 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.0003784/0.1105, allocations: 433.1 kB / 447.7 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1105, allocations: 11.89 kB / 447.7 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1106, allocations: 4.844 kB / 447.7 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.135e-05/0.1107, allocations: 168.4 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1107, allocations: 384 / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1107, allocations: 4.375 kB / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.1108, allocations: 33.95 kB / 447.9 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1108, allocations: 3.938 kB / 447.9 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1108, allocations: 0 / 447.9 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1108, allocations: 4 kB / 447.9 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1108, allocations: 0 / 447.9 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.111, allocations: 149.7 kB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.1111, allocations: 22.61 kB / 448.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.1111, allocations: 4.859 kB / 448.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-06/0.1111, allocations: 3.938 kB / 448.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.1111, allocations: 60.2 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1111, allocations: 0 / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.1113, allocations: 67.45 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1114, allocations: 85.23 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.615e-05/0.1114, allocations: 89.86 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1114, allocations: 25.7 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.1115, allocations: 80.14 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1115, allocations: 0 / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.1115, allocations: 13.72 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1116, allocations: 310.8 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.1117, allocations: 4 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.1117, allocations: 7.938 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.1117, allocations: 64.25 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1117, allocations: 3.938 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.842e-05/0.1118, allocations: 59.41 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.1119, allocations: 33.64 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1119, allocations: 0 / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1119, allocations: 4 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1119, allocations: 0 / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1119, allocations: 0 / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1119, allocations: 8.078 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1119, allocations: 0 / 449 MB, free: 14.81 MB / 334.1 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 8.848e-05/0.112, allocations: 143.5 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1121, allocations: 3.938 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-06/0.1121, allocations: 7.062 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1121, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1121, allocations: 4 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1121, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.823e-05/0.1122, allocations: 149.7 kB / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1122, allocations: 4 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.1122, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1122, allocations: 3.938 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1122, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1122, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1122, allocations: 3.938 kB / 449.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.1123, allocations: 90.83 kB / 449.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1124, allocations: 77.11 kB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1124, allocations: 11.97 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.1124, allocations: 0 / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.1124, allocations: 0 / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1124, allocations: 0 / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.369e-05/0.1125, allocations: 75.28 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1125, allocations: 0 / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.1129, allocations: 147.9 kB / 449.7 MB, free: 14 MB / 334.1 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.0006779/0.1136, allocations: 363.8 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1137, allocations: 63.39 kB / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1137, allocations: 0 / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.1138, allocations: 55.47 kB / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1139, allocations: 9.266 kB / 450.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.1141, allocations: 73.08 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1144, allocations: 0.6729 MB / 450.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.012e-06/0.1144, allocations: 0 / 450.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.1144, allocations: 11.44 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1144, allocations: 3.938 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Templates: time 0.007135/0.1216, allocations: 4.294 MB / 455.3 MB, free: 8.379 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches