Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002059/0.002059, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002012/0.002012, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3939/0.3939, allocations: 32.8 MB / 293.9 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.651e-05, allocations: 9.344 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00416/0.004197, allocations: 2.069 MB / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.006938, allocations: 1.344 MB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.007047, allocations: 8 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.843e-05/0.007115, allocations: 23.67 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.007261, allocations: 47.58 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.00782, allocations: 199 kB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.00808, allocations: 180.1 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.008293, allocations: 72.14 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.008532, allocations: 123.6 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.00867, allocations: 71.72 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.008705, allocations: 16 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.009001, allocations: 147.7 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.009047, allocations: 47.81 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.00912, allocations: 59.78 kB / 379.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.009631, allocations: 334.7 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009635, allocations: 0 / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009636, allocations: 0 / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.009642, allocations: 0 / 380 MB, free: 240 kB / 346.7 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.0007426/0.01038, allocations: 0.5581 MB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.01042, allocations: 12.03 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.01142, allocations: 171.7 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.01168, allocations: 156.2 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.01171, allocations: 21.03 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.01174, allocations: 24.38 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.01213, allocations: 194.7 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01214, allocations: 8.188 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.01216, allocations: 8.375 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.01218, allocations: 11.94 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.01248, allocations: 142.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.01349, allocations: 0.5663 MB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.01406, allocations: 224.3 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.0142, allocations: 72.11 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.01423, allocations: 4.234 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.01426, allocations: 33.62 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.422e-06/0.01426, allocations: 0 / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005084/0.01477, allocations: 214.7 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.01482, allocations: 67.33 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01495, allocations: 169.9 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.01498, allocations: 29.7 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.0151, allocations: 179.4 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.01519, allocations: 99.17 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.01527, allocations: 47.36 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002776/0.01555, allocations: 0.4962 MB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01565, allocations: 43.97 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.01573, allocations: 35.98 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01596, allocations: 125 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01596, allocations: 4 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003138/0.01627, allocations: 181.5 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01629, allocations: 4 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01629, allocations: 0 / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.01632, allocations: 11.92 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.01691, allocations: 95.94 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01691, allocations: 4 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.01698, allocations: 19.89 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01699, allocations: 4.25 kB / 384 MB, free: 12.04 MB / 362.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: 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.0001484/0.01714, allocations: 176.5 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.01719, allocations: 15.95 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/0.01727, allocations: 25.62 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.01728, allocations: 7.938 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01728, allocations: 4 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.01729, allocations: 3.984 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.01758, allocations: 200.5 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01758, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.01795, allocations: 95.89 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01795, allocations: 4 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01797, allocations: 4 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01797, allocations: 0 / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.01797, allocations: 3.938 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.0184, allocations: 335.7 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.01842, allocations: 19.89 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.01843, allocations: 0 / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.01852, allocations: 8 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.01858, allocations: 19.91 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01859, allocations: 8 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.01867, allocations: 131.2 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01867, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.01896, allocations: 59.84 kB / 385.1 MB, free: 10.88 MB / 362.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: 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.0001122/0.01907, allocations: 95.19 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.01938, allocations: 140.1 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.01939, allocations: 4 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.01954, allocations: 91.52 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.0198, allocations: 15.94 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.02058, allocations: 442.8 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.02071, allocations: 116.8 kB / 386 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.02081, allocations: 21.47 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.02086, allocations: 16.5 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02086, allocations: 0 / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of Templates: time 0.004357/0.02522, allocations: 0.9946 MB / 387 MB, free: 8.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.902191226952709]