Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.00147/0.00147, 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.001621/0.001621, allocations: 217.3 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.303/1.303, allocations: 207.6 MB / 234.5 MB, free: 9.969 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.1967/0.1967, allocations: 44.23 MB / 331 MB, free: 9.516 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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") [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.00217/0.00217, allocations: 75.89 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1072, allocations: 61.03 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001602/0.1088, allocations: 0.494 MB / 0.5178 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1108, allocations: 1.449 MB / 0.5192 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1108, allocations: 3.938 kB / 0.5193 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1108, allocations: 0 / 0.5193 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.1108, allocations: 0 / 0.5193 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.1113, allocations: 103.7 kB / 0.5194 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.1114, allocations: 11.98 kB / 0.5194 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.1114, allocations: 4 kB / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.187e-05/0.1114, allocations: 0 / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.1114, allocations: 3.938 kB / 0.5194 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.1114, allocations: 0 / 0.5194 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.1117, allocations: 71.92 kB / 0.5194 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.1117, allocations: 0 / 0.5194 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.1117, allocations: 0 / 0.5194 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.1118, allocations: 31.91 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1118, allocations: 0 / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1118, allocations: 0 / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1119, allocations: 0 / 0.5195 GB, free: 4.656 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.0003129/0.1122, allocations: 272.1 kB / 0.5197 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1122, allocations: 12.03 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1122, allocations: 4.938 kB / 0.5197 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.1123, allocations: 102.5 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1123, allocations: 384 / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1123, allocations: 384 / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/0.1124, allocations: 45.94 kB / 0.5199 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1124, allocations: 0 / 0.5199 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1124, allocations: 0 / 0.5199 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1124, allocations: 0 / 0.5199 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.1125, allocations: 4 kB / 0.5199 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.1126, allocations: 112.8 kB / 0.52 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.1126, allocations: 22.61 kB / 0.52 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.1126, allocations: 8.859 kB / 0.52 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.1127, allocations: 0 / 0.52 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.1127, allocations: 68.12 kB / 0.5201 GB, free: 3.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1127, allocations: 0 / 0.5201 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.1129, allocations: 59.47 kB / 0.5202 GB, free: 3.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1129, allocations: 85.05 kB / 0.5202 GB, free: 3.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.113, allocations: 89.86 kB / 0.5203 GB, free: 3.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.113, allocations: 29.7 kB / 0.5203 GB, free: 3.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.113, allocations: 84.27 kB / 0.5204 GB, free: 3.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1131, allocations: 0 / 0.5204 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1131, allocations: 13.7 kB / 0.5204 GB, free: 3.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1132, allocations: 314.8 kB / 0.5207 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1132, allocations: 0 / 0.5207 GB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.1132, allocations: 0 / 0.5207 GB, free: 3.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.885e-05/0.1133, allocations: 68.2 kB / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1133, allocations: 0 / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.559e-05/0.1134, allocations: 71.45 kB / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1134, allocations: 33.64 kB / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.1134, allocations: 0 / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1134, allocations: 0 / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.1134, allocations: 0 / 0.5209 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1134, allocations: 7.938 kB / 0.5209 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.1134, allocations: 0 / 0.5209 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1134, allocations: 0 / 0.5209 GB, free: 2.945 MB / 398.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.512e-05/0.1135, allocations: 135.6 kB / 0.521 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1135, allocations: 11.94 kB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.417e-06/0.1136, allocations: 6.984 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1136, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1136, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.1136, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.562e-05/0.1137, allocations: 116.8 kB / 0.5212 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1137, allocations: 3.938 kB / 0.5212 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1137, allocations: 0 / 0.5212 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1137, allocations: 3.938 kB / 0.5212 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1137, allocations: 0 / 0.5212 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1137, allocations: 7.984 kB / 0.5212 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1137, allocations: 0 / 0.5212 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.1138, allocations: 86.84 kB / 0.5213 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.1138, allocations: 0 / 0.5213 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1138, allocations: 11.92 kB / 0.5213 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-06/0.1138, allocations: 0 / 0.5213 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1138, allocations: 3.984 kB / 0.5213 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1138, allocations: 0 / 0.5213 GB, free: 2.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.1138, allocations: 83.34 kB / 0.5214 GB, free: 2.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1138, allocations: 0 / 0.5214 GB, free: 2.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.114, allocations: 15.94 kB / 0.5214 GB, free: 2.387 MB / 398.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.0002497/0.1143, allocations: 139.8 kB / 0.5215 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1144, allocations: 67.33 kB / 0.5216 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1144, allocations: 0 / 0.5216 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.1144, allocations: 55.47 kB / 0.5216 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.1145, allocations: 4 kB / 0.5216 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.1147, allocations: 110.6 kB / 0.5217 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.115, allocations: 0.6729 MB / 0.5224 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.115, allocations: 7.438 kB / 0.5224 GB, free: 1.246 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.115, allocations: 0 / 0.5224 GB, free: 1.246 MB / 398.1 MB Notification: Performance of Templates: time 0.001933/0.117, allocations: 0.5541 MB / 0.5229 GB, free: 0.6914 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.30306725599803]