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.001512/0.001512, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001608/0.001608, allocations: 215 kB / 23.76 MB, free: 4.727 MB / 14.72 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.325/1.325, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 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.2023/0.2023, allocations: 44.24 MB / 331 MB, free: 9.523 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 72.98 kB / 468.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.105, allocations: 61.03 MB / 0.5173 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001687/0.1067, allocations: 498.7 kB / 0.5178 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.11, allocations: 2.352 MB / 0.5201 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.11, allocations: 4 kB / 0.5201 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-06/0.11, allocations: 0 / 0.5201 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.11, allocations: 0 / 0.5201 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.1128, allocations: 1.222 MB / 0.5213 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.329e-05/0.1128, allocations: 7.922 kB / 0.5213 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.616e-05/0.1128, allocations: 0 / 0.5213 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.19e-05/0.1129, allocations: 4 kB / 0.5213 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.1129, allocations: 8 kB / 0.5213 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.1129, allocations: 3.938 kB / 0.5213 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1144, allocations: 0.9795 MB / 0.5223 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.1144, allocations: 4 kB / 0.5223 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1144, allocations: 7.984 kB / 0.5223 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.115, allocations: 427.1 kB / 0.5227 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.115, allocations: 0 / 0.5227 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.115, allocations: 0 / 0.5227 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.115, allocations: 0 / 0.5227 GB, free: 1.348 MB / 398.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.000411/0.1154, allocations: 359.3 kB / 0.523 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.1155, allocations: 8.031 kB / 0.5231 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1155, allocations: 0.9375 kB / 0.5231 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.1156, allocations: 106.5 kB / 0.5232 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.1156, allocations: 384 / 0.5232 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.1156, allocations: 384 / 0.5232 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.1157, allocations: 34.02 kB / 0.5232 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1157, allocations: 0 / 0.5232 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.1157, allocations: 4 kB / 0.5232 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1157, allocations: 3.984 kB / 0.5232 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.1157, allocations: 3.938 kB / 0.5232 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1158, allocations: 120.8 kB / 0.5233 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.1159, allocations: 14.58 kB / 0.5233 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.1159, allocations: 8.953 kB / 0.5233 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.1159, allocations: 0 / 0.5233 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1159, allocations: 64.2 kB / 0.5234 GB, free: 0.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.1159, allocations: 0 / 0.5234 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.1161, allocations: 71.33 kB / 0.5235 GB, free: 428 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1161, allocations: 77.11 kB / 0.5235 GB, free: 332 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.629e-05/0.1162, allocations: 93.8 kB / 0.5236 GB, free: 228 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1162, allocations: 25.7 kB / 0.5237 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1163, allocations: 84.12 kB / 0.5237 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1163, allocations: 4 kB / 0.5237 GB, free: 104 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.1163, allocations: 13.84 kB / 0.5237 GB, free: 84 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1165, allocations: 318.8 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.1165, allocations: 4 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.1165, allocations: 0 / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.02e-05/0.1165, allocations: 60.27 kB / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1165, allocations: 0 / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.093e-05/0.1166, allocations: 59.34 kB / 0.5242 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.1166, allocations: 41.62 kB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1166, allocations: 4.094 kB / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1166, allocations: 0 / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1166, allocations: 0 / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.1167, allocations: 3.938 kB / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.1167, allocations: 4 kB / 0.5242 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1167, allocations: 4 kB / 0.5242 GB, free: 15.55 MB / 414.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.866e-05/0.1168, allocations: 131.5 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.1168, allocations: 3.938 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.1168, allocations: 7 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1168, allocations: 7.984 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1168, allocations: 0 / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1168, allocations: 4 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/0.1169, allocations: 112.8 kB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1169, allocations: 0 / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1169, allocations: 4 kB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1169, allocations: 3.938 kB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1169, allocations: 0 / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1169, allocations: 0 / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1169, allocations: 0 / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.117, allocations: 102.8 kB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-06/0.117, allocations: 0 / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.117, allocations: 3.938 kB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.117, allocations: 11.98 kB / 0.5246 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.117, allocations: 0 / 0.5246 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.117, allocations: 3.938 kB / 0.5246 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.1171, allocations: 75.28 kB / 0.5247 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1171, allocations: 4.031 kB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.1175, allocations: 139.6 kB / 0.5248 GB, free: 14.87 MB / 414.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.0006398/0.1182, allocations: 371.5 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.898e-05/0.1182, allocations: 59.34 kB / 0.5252 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1182, allocations: 0 / 0.5252 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.1183, allocations: 55.41 kB / 0.5253 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1184, allocations: 7.938 kB / 0.5253 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.1186, allocations: 118.5 kB / 0.5254 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1189, allocations: 0.6729 MB / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.1189, allocations: 7.438 kB / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1189, allocations: 4.125 kB / 0.5261 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Templates: time 0.006135/0.125, allocations: 3.62 MB / 0.5296 GB, free: 9.867 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.621103031095117]