Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.001485/0.001485, 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.001618/0.001618, allocations: 214.8 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.292/1.292, 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.2036/0.2036, allocations: 44.23 MB / 331 MB, free: 9.52 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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [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.002052/0.002052, allocations: 71.89 kB / 468.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 61.04 MB / 0.5174 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003295/0.112, allocations: 2.126 MB / 0.5195 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.114, allocations: 1.333 MB / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1141, allocations: 4 kB / 0.5208 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.1142, allocations: 23.67 kB / 0.5208 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1143, allocations: 31.72 kB / 0.5208 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.1147, allocations: 195.2 kB / 0.521 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1149, allocations: 176.1 kB / 0.5212 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1151, allocations: 88.06 kB / 0.5213 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1153, allocations: 83.58 kB / 0.5213 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1154, allocations: 87.55 kB / 0.5214 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1154, allocations: 16 kB / 0.5214 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.1157, allocations: 155.9 kB / 0.5216 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.1158, allocations: 43.83 kB / 0.5216 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.1158, allocations: 87.48 kB / 0.5217 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.1163, allocations: 322.5 kB / 0.522 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1163, allocations: 4 kB / 0.522 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1163, allocations: 0 / 0.522 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1163, allocations: 0 / 0.522 GB, free: 2.035 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006594/0.117, allocations: 457.6 kB / 0.5225 GB, free: 1.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.975e-05/0.1171, allocations: 8.031 kB / 0.5225 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/0.118, allocations: 68.75 kB / 0.5225 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1181, allocations: 126.3 kB / 0.5227 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1181, allocations: 25.03 kB / 0.5227 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.1182, allocations: 28.31 kB / 0.5227 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1185, allocations: 206.4 kB / 0.5229 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1185, allocations: 0 / 0.5229 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1186, allocations: 8 kB / 0.5229 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1186, allocations: 8 kB / 0.5229 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.1188, allocations: 142.5 kB / 0.5231 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.1198, allocations: 0.5587 MB / 0.5236 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.1203, allocations: 215.3 kB / 0.5238 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1205, allocations: 65.23 kB / 0.5239 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1205, allocations: 8.172 kB / 0.5239 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.1205, allocations: 34.8 kB / 0.5239 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.1205, allocations: 0 / 0.5239 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004545/0.121, allocations: 218.2 kB / 0.5241 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.121, allocations: 59.41 kB / 0.5242 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.1211, allocations: 97.84 kB / 0.5243 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1211, allocations: 37.64 kB / 0.5243 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.1212, allocations: 136.7 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.1213, allocations: 91.2 kB / 0.5245 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.1213, allocations: 37.72 kB / 0.5246 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1215, allocations: 326.8 kB / 0.5249 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.1216, allocations: 47.91 kB / 0.5249 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.1217, allocations: 43.97 kB / 0.525 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1219, allocations: 122.2 kB / 0.5251 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1219, allocations: 4.188 kB / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002622/0.1221, allocations: 169.5 kB / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1221, allocations: 8 kB / 0.5252 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1222, allocations: 4 kB / 0.5252 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1222, allocations: 0 / 0.5252 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1225, allocations: 103.9 kB / 0.5253 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1225, allocations: 0 / 0.5253 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1226, allocations: 15.89 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1226, allocations: 4 kB / 0.5254 GB, free: 14.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001063/0.1227, allocations: 133.8 kB / 0.5255 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1227, allocations: 19.89 kB / 0.5255 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.1228, allocations: 21.31 kB / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1228, allocations: 0 / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1228, allocations: 4 kB / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1228, allocations: 0 / 0.5255 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.1231, allocations: 244.5 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1231, allocations: 3.938 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.1234, allocations: 107.9 kB / 0.5259 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1234, allocations: 0 / 0.5259 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1235, allocations: 8 kB / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1235, allocations: 0 / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1235, allocations: 0 / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1238, allocations: 267.4 kB / 0.5261 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.1238, allocations: 15.83 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1238, allocations: 4 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1239, allocations: 12 kB / 0.5262 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1239, allocations: 11.97 kB / 0.5262 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.124, allocations: 11.98 kB / 0.5262 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.471e-05/0.124, allocations: 83.27 kB / 0.5263 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.124, allocations: 4 kB / 0.5263 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1243, allocations: 51.78 kB / 0.5263 GB, free: 13.38 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001009/0.1244, allocations: 99.19 kB / 0.5264 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1246, allocations: 136.3 kB / 0.5265 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1246, allocations: 0 / 0.5265 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1248, allocations: 75.78 kB / 0.5266 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.125, allocations: 15.94 kB / 0.5266 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.1257, allocations: 498.9 kB / 0.5271 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.126, allocations: 0.7319 MB / 0.5278 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1261, allocations: 23.44 kB / 0.5278 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1261, allocations: 0 / 0.5278 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.003461/0.1296, allocations: 1.748 MB / 0.5296 GB, free: 9.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.634807035094127]